[issue18174] Make regrtest with --huntrleaks check for fd leaks

STINNER Victor report at bugs.python.org
Tue Jul 29 21:57:26 CEST 2014


STINNER Victor added the comment:

> fstat() can do I/O, or can fail for other reasons.

Oh, I forgot this reason. Maybe we should add a comment to explain that. I mean in the patch for this issue but also in is_valid_fd() (Python/pythonrun.c).

----------

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


More information about the Python-bugs-list mailing list