diff options
author | Victor Stinner <vstinner@python.org> | 2019-11-04 19:48:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-04 19:48:34 +0100 |
commit | f4b1e3d7c64985f5d5b00f6cc9a1c146bbbfd613 (patch) | |
tree | b42e4aaf30370f71b5622f8a41976ac71706d8e8 /PCbuild | |
parent | 6552563b3d5061816720a5a6c7d4ffd6ba35b98b (diff) | |
download | cpython-git-f4b1e3d7c64985f5d5b00f6cc9a1c146bbbfd613.tar.gz |
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.
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/pythoncore.vcxproj | 1 | ||||
-rw-r--r-- | PCbuild/pythoncore.vcxproj.filters | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/PCbuild/pythoncore.vcxproj b/PCbuild/pythoncore.vcxproj index 1c055b6a33..b72474060a 100644 --- a/PCbuild/pythoncore.vcxproj +++ b/PCbuild/pythoncore.vcxproj @@ -127,6 +127,7 @@ <ClInclude Include="..\Include\complexobject.h" /> <ClInclude Include="..\Include\context.h" /> <ClInclude Include="..\Include\cpython\abstract.h" /> + <ClInclude Include="..\Include\cpython\ceval.h" /> <ClInclude Include="..\Include\cpython\dictobject.h" /> <ClInclude Include="..\Include\cpython\fileobject.h" /> <ClInclude Include="..\Include\cpython\import.h" /> diff --git a/PCbuild/pythoncore.vcxproj.filters b/PCbuild/pythoncore.vcxproj.filters index dbff89fbff..8090813555 100644 --- a/PCbuild/pythoncore.vcxproj.filters +++ b/PCbuild/pythoncore.vcxproj.filters @@ -84,6 +84,9 @@ <ClInclude Include="..\Include\cpython\abstract.h"> <Filter>Include</Filter> </ClInclude> + <ClInclude Include="..\Include\cpython\ceval.h"> + <Filter>Include</Filter> + </ClInclude> <ClInclude Include="..\Include\cpython\dictobject.h"> <Filter>Include</Filter> </ClInclude> |