[issue4991] os.fdopen doesn't raise on invalid file descriptors

Antoine Pitrou report at bugs.python.org
Mon Jan 19 01:03:54 CET 2009


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

I'm not sure Windows has a valid fstat btw, I'll guess we'll see on the
Windows buildbots (in that case, some code can be taken from
posixmodule.c to emulate fstat behaviour...). Other than that, the patch
looks fine to me.

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


More information about the Python-bugs-list mailing list