PEP 446: add a reference to a previous attempt in 2007

This commit is contained in:
Victor Stinner 2013-08-07 01:38:48 +02:00
parent 9fabe818dc
commit caa1de40f7
1 changed files with 14 additions and 0 deletions

View File

@ -404,6 +404,19 @@ see `win32.py
Rejected Alternatives
=====================
Add a new open_noinherit() function
-----------------------------------
In June 2007, Henning von Bargen proposed on the python-dev mailing list
to add a new open_noinherit() function to fix issues of inherited file
descriptors in child processes. At this time, the default value of the
*close_fds* parameter of the subprocess module was ``False``.
Read the mail thread: `[Python-Dev] Proposal for a new function
"open_noinherit" to avoid problems with subprocesses and security risks
<http://mail.python.org/pipermail/python-dev/2007-June/073688.html>`_.
PEP 433
-------
@ -411,6 +424,7 @@ The PEP 433 entitled "Easier suppression of file descriptor inheritance"
is a previous attempt proposing various other alternatives, but no
consensus could be reached.
No special case for standard streams
------------------------------------