This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author srid
Recipients srid
Date 2009-07-18.03:05:24
SpamBayes Score 0.000257331
Marked as misclassified No
Message-id <>
Ideally, zipfile.BadZipFile should be thrown when trying to open files 
that are zero-sized.

sridharr@whymac:/tmp/i > apy -c "import zipfile; zipfile.ZipFile
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 693, in __init__
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 713, in _GetContents
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 723, in _RealGetContents
    endrec = _EndRecData(fp)
  File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/", line 189, in _EndRecData, 2)
IOError: [Errno 22] Invalid argument
sridharr@whymac:/tmp/i >
Date User Action Args
2009-07-18 03:05:25sridsetrecipients: + srid
2009-07-18 03:05:25sridsetmessageid: <>
2009-07-18 03:05:24sridlinkissue6511 messages
2009-07-18 03:05:24sridcreate