]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:18 +0000 (17:00 +0000)
committerGitHub <noreply@github.com>
Sat, 18 Jan 2025 17:00:18 +0000 (19:00 +0200)
commitbca489076f1834fc9544a9581aeb2df565af954c
tree7eaf28724d1ddc23de379a05ec700a06768156ee
parent3d9b14c19bb004619680bd972f641486e1fec1b7
[3.12] gh-127599: Fix _Py_RefcntAdd missing calls to _Py_INCREF_STAT_INC/_Py_INCREF_IMMORTAL_STAT_INC (GH-127717) (#128712)

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/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]