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 <1386429270.85.0.469407641779.issue19846@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2013-12-07 15:14:30Sworddragonsetrecipients: + Sworddragon, terry.reedy, pitrou, vstinner, r.david.murray
2013-12-07 15:14:30Sworddragonsetmessageid: <1386429270.85.0.469407641779.issue19846@psf.upfronthosting.co.za>
2013-12-07 15:14:30Sworddragonlinkissue19846 messages
2013-12-07 15:14:30Sworddragoncreate