STINNER Victor added the comment:

Oh, I just noticed that os.environ uses the hardcoded error handler 
"surrogateescape": it should be replaced with sys.getfilesystemencodeerrors() 
to support UTF-8 Strict mode.

----------

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

Reply via email to