[Python-checkins] peps: PEP 446: On Windows, the close-on-exec flag is the *inverse* of

victor.stinner python-checkins at python.org
Wed Jul 17 13:15:24 CEST 2013


http://hg.python.org/peps/rev/4f1e1692c573
changeset:   5002:4f1e1692c573
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Wed Jul 17 12:48:58 2013 +0200
summary:
  PEP 446: On Windows, the close-on-exec flag is the *inverse* of HANDLE_FLAG_INHERIT

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


diff --git a/pep-0446.txt b/pep-0446.txt
--- a/pep-0446.txt
+++ b/pep-0446.txt
@@ -27,7 +27,7 @@
 on each file descriptor using a *close-on-exec* flag. By default, the
 close-on-exec flag is not set.
 
-On Windows, the close-on-exec flag is ``HANDLE_FLAG_INHERIT``. File
+On Windows, the close-on-exec flag is the inverse of ``HANDLE_FLAG_INHERIT``. File
 descriptors are not inherited if the ``bInheritHandles`` parameter of
 the ``CreateProcess()`` function is ``FALSE``, even if the
 ``HANDLE_FLAG_INHERIT`` flag is set. If ``bInheritHandles`` is ``TRUE``,
@@ -149,7 +149,7 @@
 
 The ``subprocess.Popen`` class must clear the close-on-exec flag of file
 descriptors of the ``pass_fds`` parameter. The flag is cleared in the
-child process before executing the program, the change does not change
+child process before executing the program; the change does not change
 the flag in the parent process.
 
 The close-on-exec flag must also be set on private file descriptors and

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


More information about the Python-checkins mailing list