[3.11] gh-105375: Improve PyErr_WarnExplicit() error handling (GH-105610) (#105660)
Bail on first error to prevent exceptions from possibly being overwritten. (cherry picked from commit 567d6ae8e77579173510fc948ac06b2ababf3d40) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
M
Miss Islington (bot) committed
05c73e1cd872843952f0e769265ec3d9535488f6
Parent: 87e493b
Committed by GitHub <noreply@github.com>
on 6/11/2023, 7:46:02 PM