summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorErlend E. Aasland <erlend.aasland@protonmail.com>2023-06-11 19:29:19 (GMT)
committerGitHub <noreply@github.com>2023-06-11 19:29:19 (GMT)
commit555be81026fe1205d16c02f6321221381174cd07 (patch)
tree897b0d987cb50f43bf5cab9725e096b903cca9f6 /Misc/NEWS.d
parent567d6ae8e77579173510fc948ac06b2ababf3d40 (diff)
downloadcpython-555be81026fe1205d16c02f6321221381174cd07.zip
cpython-555be81026fe1205d16c02f6321221381174cd07.tar.gz
cpython-555be81026fe1205d16c02f6321221381174cd07.tar.bz2
gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() (#105491)
Bail on first error to prevent exceptions from possibly being overwritten.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r--Misc/NEWS.d/next/Core and Builtins/2023-06-08-09-25-52.gh-issue-105375.ocB7fT.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2023-06-08-09-25-52.gh-issue-105375.ocB7fT.rst b/Misc/NEWS.d/next/Core and Builtins/2023-06-08-09-25-52.gh-issue-105375.ocB7fT.rst
new file mode 100644
index 0000000..24fac2d
--- /dev/null
+++ b/Misc/NEWS.d/next/Core and Builtins/2023-06-08-09-25-52.gh-issue-105375.ocB7fT.rst
@@ -0,0 +1,2 @@
+Improve error handling in :c:func:`PyUnicode_BuildEncodingMap` where an
+exception could end up being overwritten.