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 ncoghlan
Recipients barry, berker.peksag, durin42, gward, ncoghlan, pitrou, r.david.murray, terry.reedy
Date 2015-04-16.17:10:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1429204214.67.0.369564116492.issue17445@psf.upfronthosting.co.za>
In-reply-to
Content
I think the convert to str -> process as str -> convert back to bytes approach is a good one - it's the same one we use in urllib.parse.

In this case, since we explicit need to handle mixed encodings, I also agree with the idea of using surrogate escape to make it possible to tunnel arbitrary bytes through the process, and expose that as a new module level API for Python 3.5.
History
Date User Action Args
2015-04-16 17:10:14ncoghlansetrecipients: + ncoghlan, barry, gward, terry.reedy, pitrou, durin42, r.david.murray, berker.peksag
2015-04-16 17:10:14ncoghlansetmessageid: <1429204214.67.0.369564116492.issue17445@psf.upfronthosting.co.za>
2015-04-16 17:10:14ncoghlanlinkissue17445 messages
2015-04-16 17:10:14ncoghlancreate