Sworddragon added the comment:

Using an environment variable is not the holy grail for this. On writing a 
non-single-user application you can't expect the user to set extra environment 
variables.

If compatibility is the only reason in my opinion it would be much better to 
include something like sys.use_strict_encoding() which decides if 
print()/write() will use sys.getfilesystemencoding() or 
sys.getdefaultencoding().

----------

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

Reply via email to