]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-105375: Improve PyErr_WarnExplicit() error handling (#105610)
authorErlend E. Aasland <erlend.aasland@protonmail.com>
Sun, 11 Jun 2023 19:23:28 +0000 (21:23 +0200)
committerGitHub <noreply@github.com>
Sun, 11 Jun 2023 19:23:28 +0000 (21:23 +0200)
commit567d6ae8e77579173510fc948ac06b2ababf3d40
treec85ad7bfb8619b495fbb0c017e1ffeaf8b4ad532
parent3f7c0810f6158a7ff37be432f8d7f9511427489f
gh-105375: Improve PyErr_WarnExplicit() error handling (#105610)

Bail on first error to prevent exceptions from possibly being
overwritten.
Misc/NEWS.d/next/C API/2023-06-09-23-34-25.gh-issue-105375.n7amiF.rst [new file with mode: 0644]
Python/_warnings.c