summaryrefslogtreecommitdiffstats
path: root/aclocal.m4
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2019-11-04 23:51:22 (GMT)
committerGitHub <noreply@github.com>2019-11-04 23:51:22 (GMT)
commitbe434dc0380d9f5c7c800de9943cc46d55fd9491 (patch)
treebbf95dcf9ccc433e071cb4ce09984b5c5128f67e /aclocal.m4
parentf4b1e3d7c64985f5d5b00f6cc9a1c146bbbfd613 (diff)
downloadcpython-be434dc0380d9f5c7c800de9943cc46d55fd9491.zip
cpython-be434dc0380d9f5c7c800de9943cc46d55fd9491.tar.gz
cpython-be434dc0380d9f5c7c800de9943cc46d55fd9491.tar.bz2
bpo-38644: Pass tstate to Py_EnterRecursiveCall() (GH-16997)
* Add _Py_EnterRecursiveCall() and _Py_LeaveRecursiveCall() which require a tstate argument. * Pass tstate to _Py_MakeRecCheck() and _Py_CheckRecursiveCall(). * Convert Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() macros to static inline functions. _PyThreadState_GET() is the most efficient way to get the tstate, and so using it with _Py_EnterRecursiveCall() and _Py_LeaveRecursiveCall() should be a little bit more efficient than using Py_EnterRecursiveCall() and Py_LeaveRecursiveCall() which use the "slower" PyThreadState_GET().
Diffstat (limited to 'aclocal.m4')
0 files changed, 0 insertions, 0 deletions