On Mon, 09 Sep 2013 14:45:51 +0200, Antoine Pitrou email@example.com wrote:
Le Mon, 9 Sep 2013 14:30:50 +0200, Victor Stinner firstname.lastname@example.org a écrit :
2013/9/9 Larry Hastings email@example.com:
Python 3.4 includes a range of improvements of the 3.x series, including hundreds of small improvements and bug fixes. Major new features and changes in the 3.4 release series so far include:
- PEP 446, changing file descriptors to not be inherited by default in subprocesses
The title of the PEP is "Make newly created file descriptors non-inheritable". It has an impact on all functions creating files and sockets not only the subprocess module.
I don't think Larry's description is wrong. "Non-inheritable" is a shorthand for "non-inheritable in subprocesses" with "subprocesses" taken in the general sense (i.e. not only created with the subprocess module).
Not wrong, but definitely confusing. It is worth clarifying *somehow* that this does not apply only to the subprocess module, which is what a naive (or fast) reader will assume.