Staging
v0.5.1
v0.5.1
Revision be434dc0380d9f5c7c800de9943cc46d55fd9491 authored by Victor Stinner on 04 November 2019, 23:51:22 UTC, committed by GitHub on 04 November 2019, 23:51:22 UTC
* 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().
1 parent f4b1e3d
File | Mode | Size |
---|---|---|
README | -rw-r--r-- | 67 bytes |
_freeze_importlib.c | -rw-r--r-- | 4.7 KB |
_testembed.c | -rw-r--r-- | 42.7 KB |
python.c | -rw-r--r-- | 298 bytes |
Computing file changes ...