Message125058
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 :-) |
|
Date |
User |
Action |
Args |
2011-01-02 14:50:34 | rosslagerwall | set | recipients:
+ rosslagerwall, georg.brandl, pitrou, giampaolo.rodola, OG7, MrJean1, lucaspmelo |
2011-01-02 14:50:33 | rosslagerwall | set | messageid: <1293979834.0.0.400038685712.issue5870@psf.upfronthosting.co.za> |
2011-01-02 14:50:30 | rosslagerwall | link | issue5870 messages |
2011-01-02 14:50:30 | rosslagerwall | create | |
|