[Python-checkins] peps: PEP 446: add a reference to a previous attempt in 2007

victor.stinner python-checkins at python.org
Wed Aug 7 01:39:03 CEST 2013


http://hg.python.org/peps/rev/0029e8fa9bcd
changeset:   5037:0029e8fa9bcd
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Aug 07 01:38:48 2013 +0200
summary:
  PEP 446: add a reference to a previous attempt in 2007

files:
  pep-0446.txt |  14 ++++++++++++++
  1 files changed, 14 insertions(+), 0 deletions(-)


diff --git a/pep-0446.txt b/pep-0446.txt
--- a/pep-0446.txt
+++ b/pep-0446.txt
@@ -404,6 +404,19 @@
 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 @@
 is a previous attempt proposing various other alternatives, but no
 consensus could be reached.
 
+
 No special case for standard streams
 ------------------------------------
 

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list