]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() (#105491)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Sun, 11 Jun 2023 19:29:19 +0000 (21:29 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 19:29:19 +0000 (21:29 +0200)
commit555be81026fe1205d16c02f6321221381174cd07
tree897b0d987cb50f43bf5cab9725e096b903cca9f6
parent567d6ae8e77579173510fc948ac06b2ababf3d40
gh-105375: Improve error handling in PyUnicode_BuildEncodingMap() (#105491)

Bail on first error to prevent exceptions from possibly being overwritten.
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