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 <rep...@bugs.python.org>
<http://bugs.python.org/issue22046>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to