Charles-François Natali added the comment: Here's a patch with a more robust test: the previous test worked, but assume that only stdin, stdout and stderr FDs would be open in the child process. This might not hold anymore in a near future (/dev/urandom persistent FD). The new test is much more robust.
---------- stage: patch review -> commit review Added file: http://bugs.python.org/file31443/subprocess_close-default-1.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue18763> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com