diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-07-25 15:45:53 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-25 15:45:53 (GMT) |
commit | 302bbbe9ba5c72559913e2ea006c921f698a729d (patch) | |
tree | 78ed5a4f6ed2bf2240d519fee8ef96396e4b81bd /Lib/datetime.py | |
parent | 90addd6d1c1fde4ec12a6b554d1deacfac6a879c (diff) | |
download | cpython-302bbbe9ba5c72559913e2ea006c921f698a729d.zip cpython-302bbbe9ba5c72559913e2ea006c921f698a729d.tar.gz cpython-302bbbe9ba5c72559913e2ea006c921f698a729d.tar.bz2 |
bpo-31009: Fix support.fd_count() on Windows (#2862)
* bpo-31009: Fix support.fd_count() on Windows
On Windows, test.support.fd_count() now calls
msvcrt.CrtSetReportMode() to not kill the process nor log any error
on stderr on os.dup(fd) if the file descriptor is invalid.
* Fix for release mode
Diffstat (limited to 'Lib/datetime.py')
0 files changed, 0 insertions, 0 deletions