[Python-checkins] peps: PEP 446: fix typo

victor.stinner python-checkins at python.org
Sun Aug 11 22:08:48 CEST 2013


http://hg.python.org/peps/rev/bad213d6e836
changeset:   5050:bad213d6e836
user:        Victor Stinner <victor.stinner at gmail.com>
date:        Sun Aug 11 22:07:33 2013 +0200
summary:
  PEP 446: fix typo

Mention also Mac OS 10.8 for the O_CLOEXEC flag (it was already mentionned in
the summary table).

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


diff --git a/pep-0446.txt b/pep-0446.txt
--- a/pep-0446.txt
+++ b/pep-0446.txt
@@ -19,7 +19,7 @@
 not possible in some cases, and has poor performances on some platforms.
 
 This PEP proposes to make all file descriptors created by Python
-non-inheritable by default to reduces the risk of these issues. This PEP
+non-inheritable by default to reduce the risk of these issues. This PEP
 fixes also a race condition in multithreaded applications on operating
 systems supporting atomic flags to create non-inheritable file
 descriptors.
@@ -247,8 +247,8 @@
 On UNIX, new flags were added for files and sockets:
 
  * ``O_CLOEXEC``: available on Linux (2.6.23), FreeBSD (8.3),
-   OpenBSD 5.0, Solaris 11, QNX, BeOS, next NetBSD release (6.1?).
-   This flag is part of POSIX.1-2008.
+   Mac OS 10.8, OpenBSD 5.0, Solaris 11, QNX, BeOS, next NetBSD release
+   (6.1?).  This flag is part of POSIX.1-2008.
  * ``SOCK_CLOEXEC`` flag for ``socket()`` and ``socketpair()``,
    available on Linux 2.6.27, OpenBSD 5.2, NetBSD 6.0.
  * ``fcntl()``: ``F_DUPFD_CLOEXEC`` flag, available on Linux 2.6.24,

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


More information about the Python-checkins mailing list