]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-127599: Fix _Py_RefcntAdd missing calls to _Py_INCREF_STAT_INC/_Py_INCREF_IMMORTAL...
authorEd Nutting <github@ednutting.com>
Sun, 15 Dec 2024 13:51:03 +0000 (14:51 +0100)
committerGitHub <noreply@github.com>
Sun, 15 Dec 2024 13:51:03 +0000 (15:51 +0200)
commitab05beb8cea62636bd86f6f7cf1a82d7efca7162
tree6f3629dccfc9e338cc42d23b2f9c3471e90302ce
parent7900a85019457c14e8c6abac532846bc9f26760d
gh-127599: Fix _Py_RefcntAdd missing calls to _Py_INCREF_STAT_INC/_Py_INCREF_IMMORTAL_STAT_INC (#127717)

Previously, `_Py_RefcntAdd` hasn't called
`_Py_INCREF_STAT_INC/_Py_INCREF_IMMORTAL_STAT_INC` which is incorrect.

Now it has been fixed.
Include/cpython/pystats.h
Include/internal/pycore_object.h
Misc/NEWS.d/next/Core_and_Builtins/2024-12-07-13-06-09.gh-issue-127599.tXCZb_.rst [new file with mode: 0644]