Author serhiy.storchaka
Recipients benjamin.peterson, brett.cannon, eric.snow, ncoghlan, serhiy.storchaka, stutzbach
Date 2017-09-23.21:49:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1506203377.08.0.580195344597.issue31565@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2017-09-23 21:49:37serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, benjamin.peterson, stutzbach, eric.snow
2017-09-23 21:49:37serhiy.storchakasetmessageid: <1506203377.08.0.580195344597.issue31565@psf.upfronthosting.co.za>
2017-09-23 21:49:37serhiy.storchakalinkissue31565 messages
2017-09-23 21:49:36serhiy.storchakacreate