[Python-Dev] (New) PEP 446: Make newly created file descriptors non-inheritable
Victor Stinner
victor.stinner at gmail.com
Wed Aug 7 01:54:16 CEST 2013
2013/8/6 Victor Stinner <victor.stinner at gmail.com>:
> Oh, the summary table is wrong for the "subprocess, default" line: all
> inheritable handles are inherited if at least one standard stream is
> replaced.
I updated the PEP:
- add a new section "Performances of Closing All File Descriptors"
- mention a previous attempt in 2007 to add open_noinherit
- complete the summary table of the status of python 3.3 to mention
the "subprocess, replace stdout" case
- Windows creates non-inheritable *handles* (not fds) by default
See the history: http://hg.python.org/peps/log/tip/pep-0446.txt
Victor
More information about the Python-Dev
mailing list