SIGN IN SIGN UP

[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)
E
Ed Nutting committed
bca489076f1834fc9544a9581aeb2df565af954c
Parent: 3d9b14c
Committed by GitHub <noreply@github.com> on 1/18/2025, 5:00:18 PM