[issue15263] Guard against invalid file handles in os functions

Larry Hastings report at bugs.python.org
Fri Jul 6 17:10:42 CEST 2012


Larry Hastings <larry at hastings.org> 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.

Amaury: If you read the checkin that fixes this problem ( 62b9bfbc3356 ) it actually deliberately passes in INVALID_HANDLE_VALUE to win32_fstat.  I admit that's kind of where I lost interest.  I'm not really a Windows developer anymore, so maybe somebody else should do it.  So I have given myself a demotion; I am no longer assigned the bug.

----------
assignee: larry -> 

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


More information about the Python-bugs-list mailing list