Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Jun 9, 2023

Py_INCREF() was made compatible again with Python 3.9 and older in the limited API of Python debug mode.


📚 Documentation preview 📚: https://cpython-previews--105552.org.readthedocs.build/

Py_INCREF() was made compatible again with Python 3.9 and older in
the limited API of Python debug mode.
@bedevere-bot bedevere-bot added awaiting core review docs Documentation in the Doc dir skip news labels Jun 9, 2023
@vstinner vstinner merged commit 58e4b69 into python:main Jun 9, 2023
@vstinner vstinner deleted the update_doc_limited branch June 9, 2023 09:56
vstinner added a commit to vstinner/cpython that referenced this pull request Jun 9, 2023
Py_INCREF() was made compatible again with Python 3.9 and older in
the limited API of Python debug mode.

(cherry picked from commit 58e4b69)
vstinner added a commit that referenced this pull request Jun 9, 2023
* gh-102304: Fix Py_INCREF() for limited C API 3.9 (#105550)

When Python is built in debug mode (Py_REF_DEBUG macro), Py_INCREF()
and Py_DECREF() of the limited C API 3.9 (and older) now call
Py_IncRef() and Py_DecRef(), since _Py_IncRef() and _Py_DecRef() were
added to Python 3.10.

(cherry picked from commit 7ba0fd9)

* gh-102304: Remove Py_INCREF() doc change (#105552)

Py_INCREF() was made compatible again with Python 3.9 and older in
the limited API of Python debug mode.

(cherry picked from commit 58e4b69)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants