Skip to content
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

Replace RETURN_NONE with Py_RETURN_NONE #257

Merged
merged 2 commits into from
Jun 28, 2024
Merged

Conversation

QuLogic
Copy link
Contributor

@QuLogic QuLogic commented Jun 28, 2024

Since Python 3.12, Py_None is now immortal, so there's no need to increment its reference count. The builtin macro handles this correctly across all versions.

QuLogic and others added 2 commits June 27, 2024 20:02
Since Python 3.12, `Py_None` is now immortal, so there's no need to
increment its reference count. The builtin macro handles this correctly
across all versions.
@bigcat88 bigcat88 merged commit 5459857 into bigcat88:master Jun 28, 2024
28 of 29 checks passed
@bigcat88
Copy link
Owner

Thank you for not only paying attention to this, but also making a pull request

@QuLogic QuLogic deleted the none-macro branch June 28, 2024 20:37
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.

None yet

2 participants