Skip to content

[3.14] gh-134989: Fix Py_RETURN_NONE in the limited C API (GH-135165)#135178

Merged
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-9258f3d-3.14
Jun 5, 2025
Merged

[3.14] gh-134989: Fix Py_RETURN_NONE in the limited C API (GH-135165)#135178
vstinner merged 1 commit into
python:3.14from
miss-islington:backport-9258f3d-3.14

Conversation

@miss-islington

@miss-islington miss-islington commented Jun 5, 2025

Copy link
Copy Markdown
Contributor

Fix Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE macros in the
limited C API 3.11 and older:
Don't treat Py_None, Py_True and Py_False as immortal.
(cherry picked from commit 9258f3d)

Co-authored-by: Victor Stinner vstinner@python.org

…5165)

Fix Py_RETURN_NONE, Py_RETURN_TRUE and Py_RETURN_FALSE macros in the
limited C API 3.11 and older:
Don't treat Py_None, Py_True and Py_False as immortal.
(cherry picked from commit 9258f3d)

Co-authored-by: Victor Stinner <vstinner@python.org>
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.

2 participants