Message302812
It is documented that the default encoding for open() and io.TextIOWrapper() is locale.getpreferredencoding(). But actually the C implementation in Python 3 uses _bootlocale.getpreferredencoding(). Monkey-patching locale.getpreferredencoding doesn't affect open(). |
|
Date |
User |
Action |
Args |
2017-09-23 21:49:37 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, brett.cannon, ncoghlan, benjamin.peterson, stutzbach, eric.snow |
2017-09-23 21:49:37 | serhiy.storchaka | set | messageid: <1506203377.08.0.580195344597.issue31565@psf.upfronthosting.co.za> |
2017-09-23 21:49:37 | serhiy.storchaka | link | issue31565 messages |
2017-09-23 21:49:36 | serhiy.storchaka | create | |
|