summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorJohn Sloboda <sloboda@gmail.com>2024-03-17 04:58:42 (GMT)
committerGitHub <noreply@github.com>2024-03-17 04:58:42 (GMT)
commit649857a1574a02235ccfac9e2ac1c12914cf8fe0 (patch)
treecf08eb67a84db277e1a687eb7177c709d16616b6 /Misc
parentc514a975abe35fa4604cd3541e2286168ef67d10 (diff)
downloadcpython-649857a1574a02235ccfac9e2ac1c12914cf8fe0.zip
cpython-649857a1574a02235ccfac9e2ac1c12914cf8fe0.tar.gz
cpython-649857a1574a02235ccfac9e2ac1c12914cf8fe0.tar.bz2
gh-85287: Change codecs to raise precise UnicodeEncodeError and UnicodeDecodeError (#113674)
Co-authored-by: Inada Naoki <songofacandy@gmail.com>
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2024-01-02-22-47-12.gh-issue-85287.ZC5DLj.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2024-01-02-22-47-12.gh-issue-85287.ZC5DLj.rst b/Misc/NEWS.d/next/Library/2024-01-02-22-47-12.gh-issue-85287.ZC5DLj.rst
new file mode 100644
index 0000000..e6d031f
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-01-02-22-47-12.gh-issue-85287.ZC5DLj.rst
@@ -0,0 +1,2 @@
+Changes Unicode codecs to return UnicodeEncodeError or UnicodeDecodeError,
+rather than just UnicodeError.