From: Victor Stinner Date: Fri, 9 Jun 2023 09:56:03 +0000 (+0200) Subject: gh-102304: Remove Py_INCREF() doc change (#105552) X-Git-Tag: v3.13.0a1~1821 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=58e4b69f698e6fd0694a58f18679bbe0e7e50e91;p=thirdparty%2FPython%2Fcpython.git 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. --- 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 ` - on :ref:`Python build in debug mode ` 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 =============