- Python Home
- About
- News
- Documentation
- Downloads
- Community
- Foundation
- Developer's Guide
- Issue Tracker
- Issues
- Summaries
- User
- Administration
- Help
➜
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 | <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: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 |
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements
