]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-123619: Fix PyUnstable_Object_EnableDeferredRefcount() (#151260)
authorVictor Stinner <vstinner@python.org>
Thu, 11 Jun 2026 10:55:13 +0000 (12:55 +0200)
committerGitHub <noreply@github.com>
Thu, 11 Jun 2026 10:55:13 +0000 (12:55 +0200)
commit72e7eddce6c7137cef06b6eba15641597919e3d4
tree38bc5b09c681c84e9ca88c13e8b6e7d10e0b6a74
parentd87d77287392b78d36a06660228f6a5ca88888d7
gh-123619: Fix PyUnstable_Object_EnableDeferredRefcount() (#151260)

Return 0 if the object is not tracked by the GC.
Lib/test/test_capi/test_object.py
Misc/NEWS.d/next/C_API/2026-06-10-16-43-37.gh-issue-123619.dV82r6.rst [new file with mode: 0644]
Objects/object.c