[Python-checkins] peps: PEP 433: update the implementation

victor.stinner python-checkins at python.org
Fri Feb 1 00:20:15 CET 2013


http://hg.python.org/peps/rev/a9b88df8cbab
changeset:   4707:a9b88df8cbab
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Fri Feb 01 00:19:01 2013 +0100
summary:
  PEP 433: update the implementation

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


diff --git a/pep-0433.txt b/pep-0433.txt
--- a/pep-0433.txt
+++ b/pep-0433.txt
@@ -532,12 +532,14 @@
 os.dup()
 --------
 
+ * Windows: ``DuplicateHandle()`` [atomic]
  * ``fcntl(fd, F_DUPFD_CLOEXEC)`` [atomic]
  * ``dup()`` + ``os.set_cloexec(fd, True)`` [best-effort]
 
 os.dup2()
 ---------
 
+ * ``fcntl(fd, F_DUP2FD_CLOEXEC, fd2)`` [atomic]
  * ``dup3()`` with ``O_CLOEXEC`` flag [atomic]
  * ``dup2()`` + ``os.set_cloexec(fd, True)`` [best-effort]
 

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


More information about the Python-checkins mailing list