Message205691
> The fact that write() uses sys.getfilesystemencoding() is either
> a defect or a bad design (I leave the decision to you).
I have good news for you. write() does not cal sys.getfilesystemencoding(), because the encoding is set at the time the file is opened.
> But I'm still missing a reply to my suggestion. As I'm seeing it
> has no disadvantages to give the developer optionally the control.
The programmer has all the control they need. They can open their own pipes using any encoding they like, and they can even reopen stdin/stdout with a different encoding if they wish. |
|
Date |
User |
Action |
Args |
2013-12-09 13:28:57 | larry | set | recipients:
+ larry, lemburg, loewis, terry.reedy, ncoghlan, pitrou, vstinner, a.badger, r.david.murray, Sworddragon, serhiy.storchaka, bkabrda |
2013-12-09 13:28:57 | larry | set | messageid: <1386595737.86.0.198571114705.issue19846@psf.upfronthosting.co.za> |
2013-12-09 13:28:57 | larry | link | issue19846 messages |
2013-12-09 13:28:57 | larry | create | |
|