Skip to content

[3.12] gh-118997: Fix _Py_ClearImmortal() assertion - #119001

Merged
vstinner merged 1 commit into
python:3.12from
vstinner:clear_immortal12
May 18, 2024
Merged

vstinner merged 1 commit into
python:3.12from
vstinner:clear_immortal12

Conversation

@vstinner

@vstinner vstinner commented May 13, 2024 •

Copy link
Copy Markdown
Member

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
Copy Markdown
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