]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() (GH-105491...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 11 Jun 2023 20:01:52 +0000 (13:01 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 20:01:52 +0000 (20:01 +0000)
commit91877478ed68fd56934c699e03f81da9f4242d3c
treef6a50fe14abfee5c53ca9a937842e95b339087d7
parent05c73e1cd872843952f0e769265ec3d9535488f6
[3.11] gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() (GH-105491) (#105662)

Bail on first error to prevent exceptions from possibly being overwritten.
(cherry picked from commit 555be81026fe1205d16c02f6321221381174cd07)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Misc/NEWS.d/next/Core and Builtins/2023-06-08-09-25-52.gh-issue-105375.ocB7fT.rst [new file with mode: 0644]
Objects/unicodeobject.c