diff options
author | Victor Stinner <vstinner@python.org> | 2022-04-21 21:04:01 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 21:04:01 (GMT) |
commit | 364ed9409269fb321dc4eafdea677c09a4bc0d8d (patch) | |
tree | f67c9f964a6641d5979c8991d11bfe365f499811 /Misc/NEWS.d | |
parent | 8a4e519e7822d17ce062f55ba68e13bfeaf450de (diff) | |
download | cpython-364ed9409269fb321dc4eafdea677c09a4bc0d8d.zip cpython-364ed9409269fb321dc4eafdea677c09a4bc0d8d.tar.gz cpython-364ed9409269fb321dc4eafdea677c09a4bc0d8d.tar.bz2 |
gh-89373: _Py_Dealloc() checks tp_dealloc exception (#32357)
If Python is built in debug mode, _Py_Dealloc() now ensures that the
tp_dealloc function leaves the current exception unchanged.
Diffstat (limited to 'Misc/NEWS.d')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2022-04-21-16-15-24.gh-issue-89373.A1jgLx.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2022-04-21-16-15-24.gh-issue-89373.A1jgLx.rst b/Misc/NEWS.d/next/Core and Builtins/2022-04-21-16-15-24.gh-issue-89373.A1jgLx.rst new file mode 100644 index 0000000..56434f7 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2022-04-21-16-15-24.gh-issue-89373.A1jgLx.rst @@ -0,0 +1,2 @@ +If Python is built in debug mode, Python now ensures that deallocator +functions leave the current exception unchanged. Patch by Victor Stinner. |