diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2017-07-25 17:45:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-25 17:45:53 +0200 |
commit | 302bbbe9ba5c72559913e2ea006c921f698a729d (patch) | |
tree | 78ed5a4f6ed2bf2240d519fee8ef96396e4b81bd /Python/fileutils.c | |
parent | 90addd6d1c1fde4ec12a6b554d1deacfac6a879c (diff) | |
download | cpython-git-302bbbe9ba5c72559913e2ea006c921f698a729d.tar.gz |
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 'Python/fileutils.c')
0 files changed, 0 insertions, 0 deletions