[3.12] gh-118997: Fix _Py_ClearImmortal() assertion (#119001)
Fix _Py_ClearImmortal() assertion: use _Py_IsImmortal() to tolerate reference count lower than _Py_IMMORTAL_REFCNT. Fix the assertion for the stable ABI, when a C extension is built with Python 3.11 or lower.
V
Victor Stinner committed
bd1e9509a4475266b21ff432c7875efc289bc0ca
Parent: bb44a82
Committed by GitHub <noreply@github.com>
on 5/18/2024, 8:56:27 PM