]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-43510: PEP 597: Accept `encoding="locale"` in binary mode (GH-25103)
authorInada Naoki <songofacandy@gmail.com>
Wed, 31 Mar 2021 05:26:08 +0000 (14:26 +0900)
committerGitHub <noreply@github.com>
Wed, 31 Mar 2021 05:26:08 +0000 (14:26 +0900)
commitff3c9739bd69aa8b58007e63c9e40e6708b4761e
tree8f2b09f576e0f8ddb79d0a1e412363cff697ced7
parent1b4a9c7956d5dc64f8002f62bf0faae2d1892f90
bpo-43510: PEP 597: Accept `encoding="locale"` in binary mode (GH-25103)

It make `encoding="locale"` usable everywhere `encoding=None` is
allowed.
Lib/_pyio.py
Lib/test/test_io.py
Modules/_io/_iomodule.c