]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-38644: Add Py_EnterRecursiveCall() to the limited API (GH-17046)
authorVictor Stinner <vstinner@python.org>
Mon, 4 Nov 2019 18:48:34 +0000 (19:48 +0100)
committerGitHub <noreply@github.com>
Mon, 4 Nov 2019 18:48:34 +0000 (19:48 +0100)
commitf4b1e3d7c64985f5d5b00f6cc9a1c146bbbfd613
treeb42e4aaf30370f71b5622f8a41976ac71706d8e8
parent6552563b3d5061816720a5a6c7d4ffd6ba35b98b
bpo-38644: Add Py_EnterRecursiveCall() to the limited API (GH-17046)

Provide Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() as
regular functions for the limited API. Previously, there were defined
as macros, but these macros didn't work with the limited API which
cannot access PyThreadState.recursion_depth field.

Remove _Py_CheckRecursionLimit from the stable ABI.

Add Include/cpython/ceval.h header file.
Doc/c-api/exceptions.rst
Doc/whatsnew/3.9.rst
Include/ceval.h
Include/cpython/ceval.h [new file with mode: 0644]
Makefile.pre.in
Misc/NEWS.d/next/C API/2019-11-04-17-59-46.bpo-38644.euO_RR.rst [new file with mode: 0644]
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/ceval.c