[issue8589] test_warnings.CEnvironmentVariableTests.test_nonascii fails under an ascii terminal

STINNER Victor report at bugs.python.org
Wed May 19 00:59:32 CEST 2010


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

os.environ is decoded with sys.getfilesystemencoding(), whereas PYTHONWARNINGS is decoded with the locale encoding (locale.getpreferredencoding()) :-/

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8589>
_______________________________________


More information about the Python-bugs-list mailing list