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 vstinner
Recipients francescor, skreft, vstinner
Date 2008-12-20.14:03:03
SpamBayes Score 6.386025e-06
Marked as misclassified No
Message-id <1229781784.06.0.683867166987.issue4621@psf.upfronthosting.co.za>
In-reply-to
Content
In the ZIP file format, a filename is a byte string because we don't 
know the encoding. You can not guess the encoding because it's not 
stored in the ZIP file and it depends on the OS and the OS 
configuration. So t1.filename have to be a byte string and  
testzip.read() have to use bytes and not str.
History
Date User Action Args
2008-12-20 14:03:04vstinnersetrecipients: + vstinner, francescor, skreft
2008-12-20 14:03:04vstinnersetmessageid: <1229781784.06.0.683867166987.issue4621@psf.upfronthosting.co.za>
2008-12-20 14:03:03vstinnerlinkissue4621 messages
2008-12-20 14:03:03vstinnercreate