diff options
author | Victor Stinner <vstinner@python.org> | 2024-05-18 20:56:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-18 20:56:27 (GMT) |
commit | bd1e9509a4475266b21ff432c7875efc289bc0ca (patch) | |
tree | 009a185684551fb01157f583008be3a157ddc930 /Python/Python-ast.c | |
parent | bb44a827f132e4c2c75cda125bc4741ce5d1440c (diff) | |
download | cpython-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