[issue18804] pythorun.c: is_valid_fd() should not duplicate the file descriptor

STINNER Victor report at bugs.python.org
Thu Aug 22 01:24:14 CEST 2013


STINNER Victor added the comment:

> Why should it?

fstat() does not need to create a new file descriptor. Creating a new file descriptor can fail (ex: limit of the number of open files).

----------

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


More information about the Python-bugs-list mailing list