[Python-checkins] gh-102304: Remove Py_INCREF() doc change (#105552)
vstinner
webhook-mailer at python.org
Fri Jun 9 05:56:10 EDT 2023
https://github.com/python/cpython/commit/58e4b69f698e6fd0694a58f18679bbe0e7e50e91
commit: 58e4b69f698e6fd0694a58f18679bbe0e7e50e91
branch: main
author: Victor Stinner <vstinner at python.org>
committer: vstinner <vstinner at python.org>
date: 2023年06月09日T11:56:03+02:00
summary:
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.
files:
M Doc/whatsnew/3.12.rst
diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst
index 358467499e01..f1c3f086463d 100644
--- a/Doc/whatsnew/3.12.rst
+++ b/Doc/whatsnew/3.12.rst
@@ -1537,15 +1537,6 @@ Build Changes
:file:`!configure`.
(Contributed by Christian Heimes in :gh:`89886`.)
-* C extensions built with the :ref:`limited C API <limited-c-api>`
- on :ref:`Python build in debug mode <debug-build>` no longer support Python
- 3.9 and older. In this configuration, :c:func:`Py_INCREF` and
- :c:func:`Py_DECREF` are now always implemented as opaque function calls,
- but the called functions were added to Python 3.10. Build C extensions
- with a release build of Python or with Python 3.12 and older, to keep support
- for Python 3.9 and older.
- (Contributed by Victor Stinner in :gh:`102304`.)
-
C API Changes
=============
More information about the Python-checkins
mailing list