[Python-checkins] peps: PEP 433: finish to format to 70 columns
victor.stinner
python-checkins at python.org
Sun Jan 13 01:36:38 CET 2013
http://hg.python.org/peps/rev/a6879f3056ad
changeset: 4669:a6879f3056ad
user: Victor Stinner <victor.stinner at gmail.com>
date: Sun Jan 13 01:34:36 2013 +0100
summary:
PEP 433: finish to format to 70 columns
files:
pep-0433.txt | 15 ++++++++-------
1 files changed, 8 insertions(+), 7 deletions(-)
diff --git a/pep-0433.txt b/pep-0433.txt
--- a/pep-0433.txt
+++ b/pep-0433.txt
@@ -132,21 +132,22 @@
XXX descriptors of the constructor the ``pass_fds`` argument? XXX
.. note::
- See `Close file descriptors after fork`_ for a possible solution for
- ``fork()`` without ``exec()``.
+ See `Close file descriptors after fork`_ for a possible solution
+ for ``fork()`` without ``exec()``.
Proposal
========
-This PEP proposes to add a new optional argument ``cloexec`` on functions
-creating file descriptors in the Python standard library. If the argument is
-``True``, the close-on-exec flag will be set on the new file descriptor.
+This PEP proposes to add a new optional argument ``cloexec`` on
+functions creating file descriptors in the Python standard library. If
+the argument is ``True``, the close-on-exec flag will be set on the
+new file descriptor.
Add a new function:
- * ``os.set_cloexec(fd: int, cloexec: bool)``: set or unset the close-on-exec
- flag of a file descriptor
+ * ``os.set_cloexec(fd: int, cloexec: bool)``: set or unset the
+ close-on-exec flag of a file descriptor
Add a new optional ``cloexec`` argument to:
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list