[issue5950] Make zipimport work with zipfile containing comments

Ryan Kelly report at bugs.python.org
Tue Jul 13 02:26:24 CEST 2010


Ryan Kelly <ryan at rfk.id.au> added the comment:

I can't imagine anyone depending on this lack-of-feature, but there's no arguing with the technicality of it.  One more small incentive to make the jump to Python 3 then.

Anyway, I've revisited the patch to clean up the logic and control flow, and added another test to ensure that it works even when the EOCD record crosses a chunk boundary.  Also checked that it works on win32, which fortunately it did without modification.

----------
Added file: http://bugs.python.org/file17975/zipimport_with_comments.patch

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


More information about the Python-bugs-list mailing list