]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-127599: Fix _Py_RefcntAdd missing calls to _Py_INCREF_STAT_INC/_Py_INCREF_I...
authorEd Nutting <github@ednutting.com>
Sat, 18 Jan 2025 17:00:46 +0000 (17:00 +0000)
committerGitHub <noreply@github.com>
Sat, 18 Jan 2025 17:00:46 +0000 (19:00 +0200)
commitfdac3629e9e82f6908a8f2b7f4a88f7a0488229b
treec109d3a140341d381b047a6a1ed766ba31a15c5e
parent430ccbc009aa7a2da92b85d7aeadd39e1666e875
[3.13] gh-127599: Fix _Py_RefcntAdd missing calls to _Py_INCREF_STAT_INC/_Py_INCREF_IMMORTAL_STAT_INC (GH-127717) (#128713)

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

Now it has been fixed.
(cherry picked from commit ab05beb8cea62636bd86f6f7cf1a82d7efca7162)
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]