[issue10757] zipfile.write, arcname should be bytestring

Martin v. Löwis report at bugs.python.org
Mon Dec 27 00:54:28 CET 2010


Martin v. Löwis <martin at v.loewis.de> added the comment:

> So, in reverse of issue 4871, it appears that in this case the API should reject bytes input with an appropriate error message.

-1. It is quite common to produce ill-formed zipfiles, and other
ziptools are interpreting them in violation of the format spec.
Python needs to support creation of such broken zipfiles,
even though it may not be able to read them back.

----------

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


More information about the Python-bugs-list mailing list