gh-110481: Non-limited Py_INCREF/DECREF() in cpython/object.h by vstinner · Pull Request #111505 · python/cpython · GitHub
Skip to content

gh-110481: Non-limited Py_INCREF/DECREF() in cpython/object.h - #111505

Closed
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:cpython_incref
Closed

gh-110481: Non-limited Py_INCREF/DECREF() in cpython/object.h#111505
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:cpython_incref

Conversation

@vstinner

@vstinner vstinner commented Oct 30, 2023

Copy link
Copy Markdown
Member

Move the non-limited implementation of Py_INCREF() and Py_DECREF() from Include/object.h to Include/cpython/object.h.

Move static inline functions using Py_INCREF/DECREF() after the cpython/object.h include: Py_XINCREF(), Py_XDECREF(), Py_NewRef() and Py_XNewRef().

Move the non-limited implementation of Py_INCREF() and Py_DECREF()
from Include/object.h to Include/cpython/object.h.

Move static inline functions using Py_INCREF/DECREF() after the
cpython/object.h include: Py_XINCREF(), Py_XDECREF(), Py_NewRef() and
Py_XNewRef().
@colesbury

Copy link
Copy Markdown
Contributor

@vstinner
vstinner marked this pull request as draft October 30, 2023 17:00
@vstinner

Copy link
Copy Markdown
Member Author

@vstinner vstinner closed this Oct 30, 2023
@vstinner
vstinner deleted the cpython_incref branch October 30, 2023 17:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants