[issue7213] subprocess leaks open file descriptors between Popen instances causing hangs

Gregory P. Smith report at bugs.python.org
Sun Dec 12 00:07:49 CET 2010


Gregory P. Smith <greg at krypto.org> added the comment:

Paul & Giovanni: yes I hadn't given the windows side of things any thought when I made the change for beta1.

Milko: The DISREGARD_FDS approach is basically what I was intending to do.

Also, there really wasn't any objection to going ahead and changing the close_fds default for real in 3.2 assuming the windows issue is addressed.  changing it to your disregard suggestion (true on posix, false on windows) seems to fit peoples needs and keeps the basic usage simple and gets rid of any suggestion that everyone needs to specify true or false for all use cases.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7213>
_______________________________________


More information about the Python-bugs-list mailing list