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 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).
History
Date User Action Args
2014-10-02 19:04:20serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, jaraco, lars.gustaebel, nadeem.vawda
2014-10-02 19:04:20serhiy.storchakasetmessageid: <1412276660.06.0.73322384311.issue13664@psf.upfronthosting.co.za>
2014-10-02 19:04:20serhiy.storchakalinkissue13664 messages
2014-10-02 19:04:19serhiy.storchakacreate