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 vstinner
Recipients Sworddragon, a.badger, bkabrda, ezio.melotti, ishimoto, jwilk, larry, loewis, martin.panter, ncoghlan, pitrou, python-dev, r.david.murray, serhiy.storchaka, vstinner
Date 2017-01-06.22:23:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483741425.99.0.0990175724991.issue19977@psf.upfronthosting.co.za>
In-reply-to
Content
"I thought with the surrogateescape error handler now being used for sys.stdout this would not throw an exception but I'm getting this: (...)"

Please see the two recently proposed PEP: Nick's PEP 538 and my PEP 540, both propose (two different) solutions to your issue, especially for the POSIX locale (aka "C" locale).
History
Date User Action Args
2017-01-06 22:23:46vstinnersetrecipients: + vstinner, loewis, ishimoto, ncoghlan, pitrou, larry, jwilk, ezio.melotti, a.badger, r.david.murray, Sworddragon, python-dev, martin.panter, serhiy.storchaka, bkabrda
2017-01-06 22:23:45vstinnersetmessageid: <1483741425.99.0.0990175724991.issue19977@psf.upfronthosting.co.za>
2017-01-06 22:23:45vstinnerlinkissue19977 messages
2017-01-06 22:23:45vstinnercreate