Author Sworddragon
Recipients Sworddragon, pitrou, r.david.murray, terry.reedy, vstinner
Date 2013-12-07.15:14:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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().
Date User Action Args
2013-12-07 15:14:30Sworddragonsetrecipients: + Sworddragon, terry.reedy, pitrou, vstinner, r.david.murray
2013-12-07 15:14:30Sworddragonsetmessageid: <>
2013-12-07 15:14:30Sworddragonlinkissue19846 messages
2013-12-07 15:14:30Sworddragoncreate