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 ncoghlan, serhiy.storchaka, vstinner
Date 2015-10-14.17:02:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444842177.55.0.684759503015.issue25339@psf.upfronthosting.co.za>
In-reply-to
Content
I'm not sure this is a bug, but it looks at least unexpected, that surrogateescape is used with non-ASCII encoding. For example my last test for issue19058 fails on POSIX locale in 3.5+, and it is not so easy to make it working.

May be change error handler to surrogateescape only if PYTHONIOENCODING is not specified?
History
Date User Action Args
2015-10-14 17:02:57serhiy.storchakasetrecipients: + serhiy.storchaka, ncoghlan, vstinner
2015-10-14 17:02:57serhiy.storchakasetmessageid: <1444842177.55.0.684759503015.issue25339@psf.upfronthosting.co.za>
2015-10-14 17:02:57serhiy.storchakalinkissue25339 messages
2015-10-14 17:02:57serhiy.storchakacreate