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 Patrik Dufresne
Recipients Patrik Dufresne, docs@python, july, matrixise, r.david.murray, serhiy.storchaka
Date 2016-01-02.20:12:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1451765548.83.0.201399629445.issue24110@psf.upfronthosting.co.za>
In-reply-to
Content
I'm converting my project into python3. I'm encountering issue with zipfile encoding. Look like, it only support unicode path. This is a huge issue since path are, by definition, bytes. You may store a file name with an invalid character without issue on the filesystem.

As such, arcname should support bytes.

Like, Tar, zip file format doesn't define a specific encoding. You may store filename as bytes.
History
Date User Action Args
2016-01-02 20:12:28Patrik Dufresnesetrecipients: + Patrik Dufresne, r.david.murray, july, docs@python, serhiy.storchaka, matrixise
2016-01-02 20:12:28Patrik Dufresnesetmessageid: <1451765548.83.0.201399629445.issue24110@psf.upfronthosting.co.za>
2016-01-02 20:12:28Patrik Dufresnelinkissue24110 messages
2016-01-02 20:12:28Patrik Dufresnecreate