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 serhiy.storchaka
Recipients Tuikku.Anttila, detly, docs@python, ezio.melotti, loewis, serhiy.storchaka
Date 2014-08-06.06:53:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1407308003.78.0.469112790598.issue22046@psf.upfronthosting.co.za>
In-reply-to
Content
ZipFile's constructor and ZipFile.open() can raise NotImplementedError, RuntimeError, EOFError, IOError, OSError or its subclasses, or any exception raised from underlying file object, including TypeError and AttributeError. ZipExtFile.read() can raise zlib.error, lzma.LZMAError, EOFError, IOError, OSError, etc. Any method can raise unexpected exception when used in unusual circumstances (with threads, in signal handler, in destructor, at shutdown stage). I don't think we should document all these exception. Python documentation never document all possible exceptions raised by a method.
History
Date User Action Args
2014-08-06 06:53:23serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, ezio.melotti, docs@python, detly, Tuikku.Anttila
2014-08-06 06:53:23serhiy.storchakasetmessageid: <1407308003.78.0.469112790598.issue22046@psf.upfronthosting.co.za>
2014-08-06 06:53:23serhiy.storchakalinkissue22046 messages
2014-08-06 06:53:23serhiy.storchakacreate