]> granicus.if.org Git - python/commit
bpo-37267: Do not check for FILE_TYPE_CHAR in os.dup() on Windows (GH-14051)
authorZackery Spytz <zspytz@gmail.com>
Mon, 17 Jun 2019 07:17:14 +0000 (01:17 -0600)
committerVictor Stinner <vstinner@redhat.com>
Mon, 17 Jun 2019 07:17:14 +0000 (09:17 +0200)
commit28fca0c422b425a6be43be31add0a5328c16b0b8
treeaf3c6179b46c195c002aee2e30a96e458165cb14
parent66d47da86aff15be34adbec02596bb3188684c0d
bpo-37267: Do not check for FILE_TYPE_CHAR in os.dup() on Windows (GH-14051)

On Windows, os.dup() no longer creates an inheritable fd when handling a
character file.
Lib/test/test_os.py
Misc/NEWS.d/next/Windows/2019-06-13-04-15-51.bpo-37267.Ygo5ef.rst [new file with mode: 0644]
Python/fileutils.c