]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-85287: Change codecs to raise precise UnicodeEncodeError and UnicodeDecodeError...
authorJohn Sloboda <sloboda@gmail.com>
Sun, 17 Mar 2024 04:58:42 +0000 (00:58 -0400)
committerGitHub <noreply@github.com>
Sun, 17 Mar 2024 04:58:42 +0000 (04:58 +0000)
commit649857a1574a02235ccfac9e2ac1c12914cf8fe0
treecf08eb67a84db277e1a687eb7177c709d16616b6
parentc514a975abe35fa4604cd3541e2286168ef67d10
gh-85287: Change codecs to raise precise UnicodeEncodeError and UnicodeDecodeError (#113674)

Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Lib/encodings/idna.py
Lib/encodings/punycode.py
Lib/encodings/undefined.py
Lib/encodings/utf_16.py
Lib/encodings/utf_32.py
Lib/test/test_codecs.py
Lib/test/test_multibytecodec.py
Misc/NEWS.d/next/Library/2024-01-02-22-47-12.gh-issue-85287.ZC5DLj.rst [new file with mode: 0644]
Modules/cjkcodecs/multibytecodec.c