[Python-checkins] peps: PEP 446: typo: inherance => inheritance
victor.stinner
python-checkins at python.org
Thu Jul 4 22:10:56 CEST 2013
http://hg.python.org/peps/rev/39553edc98e2
changeset: 4977:39553edc98e2
user: Victor Stinner <victor.stinner at gmail.com>
date: Thu Jul 04 22:10:39 2013 +0200
summary:
PEP 446: typo: inherance => inheritance
files:
pep-0446.txt | 22 +++++++++++-----------
1 files changed, 11 insertions(+), 11 deletions(-)
diff --git a/pep-0446.txt b/pep-0446.txt
--- a/pep-0446.txt
+++ b/pep-0446.txt
@@ -1,5 +1,5 @@
PEP: 446
-Title: Add new parameters to configure the inherance of files and for non-blocking sockets
+Title: Add new parameters to configure the inheritance of files and for non-blocking sockets
Version: $Revision$
Last-Modified: $Date$
Author: Victor Stinner <victor.stinner at gmail.com>
@@ -14,16 +14,16 @@
========
This PEP proposes new portable parameters and functions to configure the
-inherance of file descriptors and the non-blocking flag of sockets.
+inheritance of file descriptors and the non-blocking flag of sockets.
Rationale
=========
-Inherance of file descriptors
------------------------------
+Inheritance of file descriptors
+-------------------------------
-The inherance of file descriptors in child processes can be configured
+The inheritance of file descriptors in child processes can be configured
on each file descriptor using a *close-on-exec* flag. By default, the
close-on-exec flag is not set.
@@ -36,13 +36,13 @@
has no effect on ``fork()``, all file descriptors are inherited by the
child process.
-Issues of the inherance of file descriptors
--------------------------------------------
+Issues of the inheritance of file descriptors
+---------------------------------------------
-Inherance of file descriptors causes issues. For example, closing a file
-descriptor in the parent process does not release the resource (file,
-socket, ...), because the file descriptor is still open in the child
-process.
+Inheritance of file descriptors causes issues. For example, closing a
+file descriptor in the parent process does not release the resource
+(file, socket, ...), because the file descriptor is still open in the
+child process.
Leaking file descriptors is also a major security vulnerability. An
untrusted child process can read sensitive data like passwords and take
--
Repository URL: http://hg.python.org/peps
More information about the Python-checkins
mailing list