Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 5, 2025

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented Jun 5, 2025

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)

…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)
@vstinner vstinner enabled auto-merge (squash) June 5, 2025 14:38
@vstinner vstinner merged commit 922dc2c into python:3.13 Jun 5, 2025
38 checks passed
@vstinner vstinner deleted the return_none13 branch June 5, 2025 15:02
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