[issue37549] os.dup() fails for standard streams on Windows 7

STINNER Victor report at bugs.python.org
Thu Jul 11 06:11:42 EDT 2019


STINNER Victor <vstinner at redhat.com> added the comment:

Oh, os.dup() doc says: "On Windows, when duplicating a standard stream (0: stdin, 1: stdout, 2: stderr), the new file descriptor is inheritable."
https://docs.python.org/dev/library/os.html

Maybe we should add an inheritable paramater to os.dup() in Python 3.8?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37549>
_______________________________________


More information about the Python-bugs-list mailing list