mirror of
https://github.com/python/cpython.git
synced 2025-12-10 02:50:09 +00:00
Revert "bpo-30860: Consolidate stateful runtime globals." (#3379)
Windows buildbots started failing due to include-related errors.
This commit is contained in:
parent
833860615b
commit
05351c1bd8
40 changed files with 1327 additions and 2726 deletions
|
|
@ -93,12 +93,7 @@ PyAPI_FUNC(int) Py_GetRecursionLimit(void);
|
|||
PyThreadState_GET()->overflowed = 0; \
|
||||
} while(0)
|
||||
PyAPI_FUNC(int) _Py_CheckRecursiveCall(const char *where);
|
||||
#ifdef Py_BUILD_CORE
|
||||
#define _Py_CheckRecursionLimit _PyRuntime.ceval.check_recursion_limit
|
||||
#else
|
||||
PyAPI_FUNC(int) _PyEval_CheckRecursionLimit(void);
|
||||
#define _Py_CheckRecursionLimit _PyEval_CheckRecursionLimit()
|
||||
#endif
|
||||
PyAPI_DATA(int) _Py_CheckRecursionLimit;
|
||||
|
||||
#ifdef USE_STACKCHECK
|
||||
/* With USE_STACKCHECK, we artificially decrement the recursion limit in order
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue