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 vstinner
Recipients methane, pablogsal, vstinner
Date 2021-03-29.20:37:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1617050228.47.0.560554357051.issue43662@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2021-03-29 20:37:08vstinnersetrecipients: + vstinner, methane, pablogsal
2021-03-29 20:37:08vstinnersetmessageid: <1617050228.47.0.560554357051.issue43662@roundup.psfhosted.org>
2021-03-29 20:37:08vstinnerlinkissue43662 messages
2021-03-29 20:37:08vstinnercreate