Author ncoghlan
Recipients Sworddragon, a.badger, ezio.melotti, loewis, ncoghlan, pitrou, r.david.murray, serhiy.storchaka, vstinner
Date 2013-12-14.06:07:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1387001250.32.0.415904219983.issue19977@psf.upfronthosting.co.za>
In-reply-to
Content
Getting rid of mojibake was the goal, surrogateescape was about dealing with cases where the "avoid mojibake" checks were spuriously breaking round-tripping between OS APIs due to other configuration errors (with LANG=C being set, or LANG not being set at all being the main problem). Other "high mojibake risk" power tools (like changing the encoding of an already open stream) are likely to return in the future, since there *are* cases where they're the right answer (e.g. you can't right an iconv equivalent in Python 3 at the moment, we need issue 15216 implemented before that will be possible).

+1 for this solution - see issue 19846 for the long discussion which got us to this point (there are a few unrelated tangents, a couple of them my fault, but this is definitely an improvement over the status quo.
History
Date User Action Args
2013-12-14 06:07:30ncoghlansetrecipients: + ncoghlan, loewis, pitrou, vstinner, ezio.melotti, a.badger, r.david.murray, Sworddragon, serhiy.storchaka
2013-12-14 06:07:30ncoghlansetmessageid: <1387001250.32.0.415904219983.issue19977@psf.upfronthosting.co.za>
2013-12-14 06:07:30ncoghlanlinkissue19977 messages
2013-12-14 06:07:29ncoghlancreate