]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 26 Sep 2024 20:51:58 +0000 (22:51 +0200)
committerGitHub <noreply@github.com>
Thu, 26 Sep 2024 20:51:58 +0000 (13:51 -0700)
commit22dee7b695a591c1d72f59f7c7b805f6c819b596
tree8e4263de5fddbee2bb6dce6df66127cfd8fb7c22
parent632844694e6e4477d26fde6f3fec8e8005b06495
[3.13] gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule object (GH-124559) (#124588)

gh-124538: Fix crash when using `gc.get_referents` on an untracked capsule object (GH-124559)
(cherry picked from commit f923605658a29ff9af5a62edc1fc10191977627b)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Lib/test/test_gc.py
Misc/NEWS.d/next/Library/2024-09-25-18-34-48.gh-issue-124538.nXZk4R.rst [new file with mode: 0644]
Objects/capsule.c