
report at bugs
Oct 19, 2009, 6:33 AM
Post #1 of 8
(352 views)
Permalink
|
|
[issue7169] zipfile leaves a file handle open if file is zero size
|
|
New submission from skelker <steve.kelker [at] dtn>: 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 <report [at] bugs> <http://bugs.python.org/issue7169> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com
|