]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:18 +0000 (13:01 -0700)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 20:01:18 +0000 (20:01 +0000)
commited038953fc2316117a3eaad066b93b0348131fd8
tree54a89cbe7a9288929cfca4ef10b2d62d55003d6e
parentdb5022c16f94622285eda5f036450e34f5f415ce
[3.12] gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() (GH-105491) (#105661)

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