summaryrefslogtreecommitdiff
path: root/Misc/NEWS.d/next/C API/2021-04-01-09-10-42.bpo-43688.G4gs6k.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/NEWS.d/next/C API/2021-04-01-09-10-42.bpo-43688.G4gs6k.rst')
-rw-r--r--Misc/NEWS.d/next/C API/2021-04-01-09-10-42.bpo-43688.G4gs6k.rst13
1 files changed, 0 insertions, 13 deletions
diff --git a/Misc/NEWS.d/next/C API/2021-04-01-09-10-42.bpo-43688.G4gs6k.rst b/Misc/NEWS.d/next/C API/2021-04-01-09-10-42.bpo-43688.G4gs6k.rst
deleted file mode 100644
index 6b1d44ee17..0000000000
--- a/Misc/NEWS.d/next/C API/2021-04-01-09-10-42.bpo-43688.G4gs6k.rst
+++ /dev/null
@@ -1,13 +0,0 @@
-The limited C API is now supported if Python is built in debug mode (if the
-``Py_DEBUG`` macro is defined). In the limited C API, the :c:func:`Py_INCREF`
-and :c:func:`Py_DECREF` functions are now implemented as opaque function calls,
-rather than accessing directly the :c:member:`PyObject.ob_refcnt` member, if
-Python is built in debug mode and the ``Py_LIMITED_API`` macro targets Python
-3.10 or newer. It became possible to support the limited C API in debug mode
-because the :c:type:`PyObject` structure is the same in release and debug mode
-since Python 3.8 (see :issue:`36465`).
-
-The limited C API is still not supported in the ``--with-trace-refs`` special
-build (``Py_TRACE_REFS`` macro).
-
-Patch by Victor Stinner.