SIGN IN SIGN UP

Fixes issue #16140: The subprocess module no longer double closes its

child subprocess.PIPE parent file descriptors on child error prior to
exec().

This would lead to race conditions in multithreaded programs where
another thread opened a file reusing the fd which was then closed out
from beneath it by the errant second close.
G
Gregory P. Smith committed
c8ac03d936fd9fa7b48c0aaac01b66e8d8fcf766