[issue22046] ZipFile.read() should mention that it might throw NotImplementedError

Ezio Melotti report at bugs.python.org
Wed Aug 6 05:25:18 CEST 2014


Ezio Melotti added the comment:

FWIW #5701 has a test zipfile (I haven't tried it though).

If I'm reading the code right, the compression method is specified and checked in the __init__, so we should know if the compression method was available long before we reach .read().  I will be happy to see some tests that prove me wrong (or confirm what I said), so that we know how the documentation should be updated.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22046>
_______________________________________


More information about the Python-bugs-list mailing list