]> granicus.if.org Git - python/commit
The error detection code in FileIO.close() could fail to reflect the `errno` value...
authorAntoine Pitrou <solipsis@pitrou.net>
Fri, 13 Mar 2009 22:33:17 +0000 (22:33 +0000)
committerAntoine Pitrou <solipsis@pitrou.net>
Fri, 13 Mar 2009 22:33:17 +0000 (22:33 +0000)
commit0ae29cf6176d3f80c1845cf23716a708acbe598b
treef6f6463670ede6c7e4ab0c15867bfe6c0764e3d8
parent652e7076fee59d92d19a0d6e326b9069a2aa09e4
The error detection code in FileIO.close() could fail to reflect the `errno` value, and report it as -1 instead.
Lib/test/test_fileio.py
Misc/NEWS
Modules/_fileio.c