[issue7610] Cannot use both read and readline method in same ZipExtFile object

Ezio Melotti report at bugs.python.org
Thu Jan 28 19:31:03 CET 2010


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

The easiest way is to setting zlib to None or not import it at all.
Are you suggesting that test_zipfile should be always run with and without zlib to check that everything (except the things that require zlib of course) works in both the cases?
My concern was about that part that handles unconsumed data only, because I didn't see any test in the patch that specifically check it. If there are already tests that checks it, then it's fine, even if it's not possible to test that part without zlib.

----------

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


More information about the Python-bugs-list mailing list