This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ebfe
Recipients ebfe, gladed, vstinner
Date 2009-01-08.16:41:00
SpamBayes Score 0.017767373
Marked as misclassified No
Message-id <1231432862.04.0.642888391885.issue4871@psf.upfronthosting.co.za>
In-reply-to
Content
This is basically the same problem as with other bytes-orientated modules.

The choice is either to reject unicode and force the caller to use
.encode() on all his strings (so 'password' is an instance of bytes and
'ch' an instance of int). I'd prefer that.

Or to check if 'password' is a unicode-object and encode to default
within zipfile.
History
Date User Action Args
2009-01-08 16:41:02ebfesetrecipients: + ebfe, vstinner, gladed
2009-01-08 16:41:02ebfesetmessageid: <1231432862.04.0.642888391885.issue4871@psf.upfronthosting.co.za>
2009-01-08 16:41:01ebfelinkissue4871 messages
2009-01-08 16:41:00ebfecreate