[issue1757072] Zipfile robustness

Alan McIntyre report at bugs.python.org
Thu Sep 9 07:18:40 CEST 2010


Alan McIntyre <alan.mcintyre at gmail.com> added the comment:

Maybe ZipFile should have an option to handle archives in a non-strict mode, in which it would raise warnings or just completely ignore a small set of minor violations of the spec.  That way people that want behavior that's in compliance with the spec will have it (by default), but those that need to handle ZIP files that bend the rules can still choose to use the Python standard libraries to get their work done.

If there's any interest in this I can work up a patch, tests, and documentation.

----------

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


More information about the Python-bugs-list mailing list