Skip to content

gh-99300: Replace Py_INCREF() with Py_NewRef() - #99513

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:newref
Nov 16, 2022
Merged

vstinner merged 1 commit into
python:mainfrom
vstinner:newref

Conversation

@vstinner

@vstinner vstinner commented Nov 15, 2022 •

Copy link
Copy Markdown
Member

Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef() and Py_XNewRef().

Replace Py_INCREF() and Py_XINCREF() using a cast with Py_NewRef()
and Py_XNewRef().

@gvanrossum gvanrossum left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK for _asyncio and select. The others aren't my area of expertise.

@vstinner
vstinner merged commit 3ed8803 into python:main Nov 16, 2022
@vstinner
vstinner deleted the newref branch November 16, 2022 09:39
@vstinner

Copy link
Copy Markdown
Member Author

@gvanrossum: Thanks for your review.

It seems like GitHub automatically asked you to review your PR. I don't know how this work. Maybe it's based on .github/CODEOWNERS. I didn't want to spam all maintainers with my current refactoring work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

3 participants