]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-39947: Move Py_EnterRecursiveCall() to internal C API (GH-18972)
authorVictor Stinner <vstinner@python.org>
Fri, 13 Mar 2020 09:19:38 +0000 (10:19 +0100)
committerGitHub <noreply@github.com>
Fri, 13 Mar 2020 09:19:38 +0000 (10:19 +0100)
commit224481a8c988fca12f488544edd2f01c0af2a91d
tree88e6b0085773ec3591216f0f41e8ae4dcb06a5b9
parent0b72b23fb0c130279f65f3bcd23521acf4a98c88
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.
Include/cpython/ceval.h
Include/internal/pycore_ceval.h
Misc/NEWS.d/next/C API/2020-03-13-00-15-19.bpo-39947.w3dIru.rst [new file with mode: 0644]
Objects/abstract.c
Objects/descrobject.c
Objects/methodobject.c
Objects/object.c