diff options
author | Victor Stinner <vstinner@python.org> | 2019-11-04 18:48:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-04 18:48:34 (GMT) |
commit | f4b1e3d7c64985f5d5b00f6cc9a1c146bbbfd613 (patch) | |
tree | b42e4aaf30370f71b5622f8a41976ac71706d8e8 /Misc | |
parent | 6552563b3d5061816720a5a6c7d4ffd6ba35b98b (diff) | |
download | cpython-f4b1e3d7c64985f5d5b00f6cc9a1c146bbbfd613.zip cpython-f4b1e3d7c64985f5d5b00f6cc9a1c146bbbfd613.tar.gz cpython-f4b1e3d7c64985f5d5b00f6cc9a1c146bbbfd613.tar.bz2 |
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 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/C API/2019-11-04-17-59-46.bpo-38644.euO_RR.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/C API/2019-11-04-17-59-46.bpo-38644.euO_RR.rst b/Misc/NEWS.d/next/C API/2019-11-04-17-59-46.bpo-38644.euO_RR.rst new file mode 100644 index 0000000..b94f505 --- /dev/null +++ b/Misc/NEWS.d/next/C API/2019-11-04-17-59-46.bpo-38644.euO_RR.rst @@ -0,0 +1,5 @@ +Provide :c:func:`Py_EnterRecursiveCall` and :c:func:`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. |