STINNER Victor added the comment: "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). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue19977> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com