[issue6511] zipfile: Invalid argument when opening zero-sized files
skelker added the comment: Is this going to make its way into a 2.6 release? -- nosy: +skelker ___ Python tracker <http://bugs.python.org/issue6511> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7169] zipfile leaves a file handle open if file is zero size
skelker added the comment: That would be great. Perhaps that should be discussed in 6511. I'll make a note there. Steve Kelker (952)882-4381 (or x4381) -- ___ Python tracker <http://bugs.python.org/issue7169> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7169] zipfile leaves a file handle open if file is zero size
skelker added the comment: Fixed in http://bugs.python.org/issue6511 -- status: open -> closed ___ Python tracker <http://bugs.python.org/issue7169> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7169] zipfile leaves a file handle open if file is zero size
skelker added the comment: Thanks. I did do a search before opening my ticket. Not sure why I didn't see that in my search. Sorry for the duplicate ticket. Steve Kelker (952)882-4381 (or x4381) -- ___ Python tracker <http://bugs.python.org/issue7169> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue7169] zipfile leaves a file handle open if file is zero size
New submission from skelker : I noticed today if I attempt to create a ZipFile object for read access, and the zip file is zero bytes, the ZipFile object throws an exception, but there is still an open handle to the file. So if I catch that exception, and then try to delete the file, the delete then fails. I have attached a script that replicates the issue. -- components: Windows files: zipfileCrash.py messages: 94236 nosy: skelker severity: normal status: open title: zipfile leaves a file handle open if file is zero size type: crash versions: Python 2.6 Added file: http://bugs.python.org/file15165/zipfileCrash.py ___ Python tracker <http://bugs.python.org/issue7169> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com