This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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 <>
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:37serhiy.storchakasetrecipients: + serhiy.storchaka, brett.cannon, ncoghlan, benjamin.peterson, stutzbach, eric.snow
2017-09-23 21:49:37serhiy.storchakasetmessageid: <>
2017-09-23 21:49:37serhiy.storchakalinkissue31565 messages
2017-09-23 21:49:36serhiy.storchakacreate