Message257358
| 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. |
|