Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[3.12] gh-105375: Improve error handling in PyUnicode_BuildEncodingMa…
…p() (GH-105491) (#105661) Bail on first error to prevent exceptions from possibly being overwritten. (cherry picked from commit 555be81) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
- Loading branch information
1 parent
db5022c
commit ed03895
Showing
2 changed files
with
19 additions
and
12 deletions.
There are no files selected for viewing
2 changes: 2 additions & 0 deletions
2
Misc/NEWS.d/next/Core and Builtins/2023-06-08-09-25-52.gh-issue-105375.ocB7fT.rst
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Improve error handling in :c:func:`PyUnicode_BuildEncodingMap` where an | ||
exception could end up being overwritten. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters