[issue4708] os.pipe should return inheritable descriptors (Windows)

STINNER Victor report at bugs.python.org
Sat Aug 10 01:15:38 CEST 2013


STINNER Victor added the comment:

os.pipe() creates non-inheritable pipes on Windows, whereas it creates inheritable pipes on UNIX. IMO the reason is an implementation artifact: os.pipe() calls CreatePipe() on Windows (native API), whereas it calls pipe() on UNIX (POSIX API). The call to CreatePipe() was added in Python in 1994, before the introduction of pipe() in the POSIX API in Windows 98.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4708>
_______________________________________


More information about the Python-bugs-list mailing list