summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-03-13 09:19:38 (GMT)
committerGitHub <noreply@github.com>2020-03-13 09:19:38 (GMT)
commit224481a8c988fca12f488544edd2f01c0af2a91d (patch)
tree88e6b0085773ec3591216f0f41e8ae4dcb06a5b9 /Misc
parent0b72b23fb0c130279f65f3bcd23521acf4a98c88 (diff)
downloadcpython-224481a8c988fca12f488544edd2f01c0af2a91d.zip
cpython-224481a8c988fca12f488544edd2f01c0af2a91d.tar.gz
cpython-224481a8c988fca12f488544edd2f01c0af2a91d.tar.bz2
bpo-39947: Move Py_EnterRecursiveCall() to internal C API (GH-18972)
Move the static inline function flavor of Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() to the internal C API: they access PyThreadState attributes. The limited C API provides regular functions which hide implementation details.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/C API/2020-03-13-00-15-19.bpo-39947.w3dIru.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2020-03-13-00-15-19.bpo-39947.w3dIru.rst b/Misc/NEWS.d/next/C API/2020-03-13-00-15-19.bpo-39947.w3dIru.rst
new file mode 100644
index 0000000..f10161c
--- /dev/null
+++ b/Misc/NEWS.d/next/C API/2020-03-13-00-15-19.bpo-39947.w3dIru.rst
@@ -0,0 +1,4 @@
+Move the static inline function flavor of Py_EnterRecursiveCall() and
+Py_LeaveRecursiveCall() to the internal C API: they access PyThreadState
+attributes. The limited C API provides regular functions which hide
+implementation details.