[issue7169] zipfile leaves a file handle open if file is zero size
Ryan Leslie
report at bugs.python.org
Mon Oct 26 10:18:57 CET 2009
Ryan Leslie <rylesny at gmail.com> added the comment:
I expect this should already be fixed by the commit in
http://bugs.python.org/issue6511
BadZipFile will now be raised for empty files rather than IOError, and
so ZipFile._GetContents() should now also close the file.
The fix was committed to trunk, but I don't see it merged into 2.6.
----------
nosy: +amaury.forgeotdarc, ryles
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7169>
_______________________________________
More information about the Python-bugs-list
mailing list