]> granicus.if.org Git - python/commit
Fixes issue #8052: The posix subprocess module's close_fds behavior was
authorGregory P. Smith <greg@krypto.org>
Sat, 21 Jan 2012 22:01:08 +0000 (14:01 -0800)
committerGregory P. Smith <greg@krypto.org>
Sat, 21 Jan 2012 22:01:08 +0000 (14:01 -0800)
commit8facece99a5917077833c85c726a699ee7a374f6
tree1f1699e06f8dcad3efc3241f7ac8cb5739eb3e26
parent12fdca59bbe9a86d304da045008af69b0d21d7b1
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().

It now closes only the open fds when it is possible to safely determine what
those are.
Lib/test/test_subprocess.py
Modules/_posixsubprocess.c
configure
configure.in
pyconfig.h.in