]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-108082: C API: Add tests for PyErr_WriteUnraisable() (GH-111455) (GH-111507)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 30 Oct 2023 17:36:00 +0000 (18:36 +0100)
committerGitHub <noreply@github.com>
Mon, 30 Oct 2023 17:36:00 +0000 (17:36 +0000)
commit748bc4864869319c6c7aac0c1161cd54bc0c1bc5
tree224620fcdf92ea1952d0b2984d19111bfe9e69a9
parente5b6744f300553fe2591f73b59a88e8c6f5fa7e3
[3.12] gh-108082: C API: Add tests for PyErr_WriteUnraisable() (GH-111455) (GH-111507)

Also document the behavior when called with NULL.
(cherry picked from commit bca330542912532baa33af20a107fcf956cf007a)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Doc/c-api/exceptions.rst
Lib/test/test_capi/test_exceptions.py
Modules/_testcapi/exceptions.c