Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 13, 2024

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.

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.
@vstinner
Copy link
Member Author

@vstinner vstinner merged commit bd1e950 into python:3.12 May 18, 2024
@vstinner vstinner deleted the clear_immortal12 branch May 18, 2024 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant