Message205459
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:30 | Sworddragon | set | recipients:
+ Sworddragon, terry.reedy, pitrou, vstinner, r.david.murray |
2013-12-07 15:14:30 | Sworddragon | set | messageid: <1386429270.85.0.469407641779.issue19846@psf.upfronthosting.co.za> |
2013-12-07 15:14:30 | Sworddragon | link | issue19846 messages |
2013-12-07 15:14:30 | Sworddragon | create | |
|