[issue11501] distutils.archive_util should handle absence of zlib module

Éric Araujo report at bugs.python.org
Tue Mar 15 12:15:11 CET 2011

Éric Araujo <merwok at netwok.org> added the comment:

> I'm not using "if zlib is not None" since the archive_utils module
> never explicitly imports zlib.

Well, you can import zlib in that module too to detect in advance whether zipfile will work.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list