]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-89373: _Py_Dealloc() checks tp_dealloc exception (#32357)
authorVictor Stinner <vstinner@python.org>
Thu, 21 Apr 2022 21:04:01 +0000 (23:04 +0200)
committerGitHub <noreply@github.com>
Thu, 21 Apr 2022 21:04:01 +0000 (23:04 +0200)
commit364ed9409269fb321dc4eafdea677c09a4bc0d8d
treef67c9f964a6641d5979c8991d11bfe365f499811
parent8a4e519e7822d17ce062f55ba68e13bfeaf450de
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.
Doc/using/configure.rst
Lib/test/test_capi.py
Misc/NEWS.d/next/Core and Builtins/2022-04-21-16-15-24.gh-issue-89373.A1jgLx.rst [new file with mode: 0644]
Objects/object.c