[Python-Dev] cpython (3.2): Fixes issue #8052: The posix subprocess module's close_fds behavior was

Antoine Pitrou solipsis at pitrou.net
Sat Jan 21 23:52:36 CET 2012


On Sat, 21 Jan 2012 23:39:41 +0100
gregory.p.smith <python-checkins at python.org> wrote:
> http://hg.python.org/cpython/rev/61aa484a3e54
> changeset:   74563:61aa484a3e54
> branch:      3.2
> parent:      74561:d01fecadf3ea
> user:        Gregory P. Smith <greg at krypto.org>
> date:        Sat Jan 21 14:01:08 2012 -0800
> summary:
>   Fixes issue #8052: The posix subprocess module's close_fds behavior was
> suboptimal by closing all possible file descriptors rather than just
> the open ones in the child process before exec().

For what it's worth, I'm not really confident with so much new low-level
code in a bugfix release.
IMHO it's more of a new feature, since it's a performance improvement.

Regards

Antoine.




More information about the Python-Dev mailing list