Ross Lagerwall <[email protected]> added the comment:
I think if you look closely at the patch, the fd does not stay open the whole
time. It is opened if necessary in _get_handles() with e.g.:
elif stdin == DEVNULL:
p2cread = self._get_devnull()
and then closed in _execute_child() with:
if hasattr(self, '_devnull'):
os.close(self._devnull)
which is executed from __init__(). So I don't think it stays open for eternity
:-)
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue5870>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com