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 detly
Recipients detly, docs@python
Date 2014-07-23.12:20:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
As per issue 5701, the method will throw a NotImplementedError if the compression scheme is not supported. However, there is no mention of this possibility in the documentation for the read() method. I would suggest, say, "Calling read() on a ZipFile that uses an unsupported compression scheme (eg. implode) will raise a NotImplementedError."

It looks like you can use the testzip() method to check that this won't happen (ie. after you open the file but before you extract an entry). If that is really the expected way to check for this kind of condition, it would be nice to mention that too (under either method).
Date User Action Args
2014-07-23 12:20:23detlysetrecipients: + detly, docs@python
2014-07-23 12:20:23detlysetmessageid: <>
2014-07-23 12:20:23detlylinkissue22046 messages
2014-07-23 12:20:23detlycreate