[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>
M
Miss Islington (bot) committed
91877478ed68fd56934c699e03f81da9f4242d3c
Parent: 05c73e1
Committed by GitHub <noreply@github.com>
on 6/11/2023, 8:01:52 PM