Serhiy Storchaka added the comment:

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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25339>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to