[issue15263] Guard against invalid file handles in os functions

Antoine Pitrou report at bugs.python.org
Fri Jul 6 17:21:35 CEST 2012


Antoine Pitrou <pitrou at free.fr> added the comment:

> Antoine: all the functions enumerated in os.supports_fd.  Note that the 
> set of such functions may in fact just be os.stat which is already fixed.

As far as I can tell, it is:

>>> os.supports_fd
{<built-in function stat>}

----------

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


More information about the Python-bugs-list mailing list