summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-05-18 20:56:27 (GMT)
committerGitHub <noreply@github.com>2024-05-18 20:56:27 (GMT)
commitbd1e9509a4475266b21ff432c7875efc289bc0ca (patch)
tree009a185684551fb01157f583008be3a157ddc930 /Python/Python-ast.c
parentbb44a827f132e4c2c75cda125bc4741ce5d1440c (diff)
downloadcpython-bd1e9509a4475266b21ff432c7875efc289bc0ca.zip
cpython-bd1e9509a4475266b21ff432c7875efc289bc0ca.tar.gz
cpython-bd1e9509a4475266b21ff432c7875efc289bc0ca.tar.bz2
[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.
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions