◐ Shell
clean mode source ↗

Message 205459 - Python tracker

Message205459

Author deleted250130
Recipients deleted250130, 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:30deleted250130setrecipients: + deleted250130, terry.reedy, pitrou, vstinner, r.david.murray
2013-12-07 15:14:30deleted250130setmessageid: <1386429270.85.0.469407641779.issue19846@psf.upfronthosting.co.za>
2013-12-07 15:14:30deleted250130linkissue19846 messages
2013-12-07 15:14:30deleted250130create