Message389742
Oh. Or maybe it's related to:
commit 4827483f47906fecee6b5d9097df2a69a293a85c
Author: Inada Naoki <songofacandy@gmail.com>
Date: Mon Mar 29 12:28:14 2021 +0900
bpo-43510: Implement PEP 597 opt-in EncodingWarning. (GH-19481)
See [PEP 597](https://www.python.org/dev/peps/pep-0597/).
* Add `-X warn_default_encoding` and `PYTHONWARNDEFAULTENCODING`.
* Add EncodingWarning
* Add io.text_encoding()
* open(), TextIOWrapper() emits EncodingWarning when encoding is omitted and warn_default_encoding is enabled.
* _pyio.TextIOWrapper() uses UTF-8 as fallback default encoding used when failed to import locale module. (used during building Python)
* bz2, configparser, gzip, lzma, pathlib, tempfile modules use io.text_encoding().
* What's new entry |
|
Date |
User |
Action |
Args |
2021-03-29 20:37:08 | vstinner | set | recipients:
+ vstinner, methane, pablogsal |
2021-03-29 20:37:08 | vstinner | set | messageid: <1617050228.47.0.560554357051.issue43662@roundup.psfhosted.org> |
2021-03-29 20:37:08 | vstinner | link | issue43662 messages |
2021-03-29 20:37:08 | vstinner | create | |
|