Message228251
| Author |
serhiy.storchaka |
| Recipients |
jaraco, lars.gustaebel, nadeem.vawda, serhiy.storchaka, terry.reedy |
| Date |
2014年10月02日.19:04:19 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1412276660.06.0.73322384311.issue13664@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> The actual fix in the previous issue, as in Python 3, was to always write the filename, but with errors replaced with '?/.
Filename is optional in gzip file. If it can't be encoded to Latin1, it should be just omitted.
Here is a patch which backports the solution from Python 3 (accumulated f37016d42729, fb069eafaf89, 8cff949323c9, and e044fa016c85). |
|