Skip to content

Commit 58e4b69

Browse files
authored
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.
1 parent 7ba0fd9 commit 58e4b69

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

Doc/whatsnew/3.12.rst

-9
Original file line numberDiff line numberDiff line change
@@ -1537,15 +1537,6 @@ Build Changes
15371537
:file:`!configure`.
15381538
(Contributed by Christian Heimes in :gh:`89886`.)
15391539

1540-
* C extensions built with the :ref:`limited C API <limited-c-api>`
1541-
on :ref:`Python build in debug mode <debug-build>` no longer support Python
1542-
3.9 and older. In this configuration, :c:func:`Py_INCREF` and
1543-
:c:func:`Py_DECREF` are now always implemented as opaque function calls,
1544-
but the called functions were added to Python 3.10. Build C extensions
1545-
with a release build of Python or with Python 3.12 and older, to keep support
1546-
for Python 3.9 and older.
1547-
(Contributed by Victor Stinner in :gh:`102304`.)
1548-
15491540

15501541
C API Changes
15511542
=============

0 commit comments

Comments
 (0)