STINNER Victor added the comment:

fileio_drop_dup_fstat.patch: Remove the duplicate call to fstat() in fileio.c. 
Tests pass, invalid FD are still detected since there is a second call to 
fstat() which also raises OSError(EBADF) if fstat(fd) fails.

----------
keywords: +patch
Added file: http://bugs.python.org/file38661/fileio_drop_dup_fstat.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue23752>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to