mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +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
|
|
@ -119,10 +119,7 @@ PyAPI_FUNC(void) _PyType_Fini(void);
|
|||
PyAPI_FUNC(void) _Py_HashRandomization_Fini(void);
|
||||
PyAPI_FUNC(void) PyAsyncGen_Fini(void);
|
||||
|
||||
#define _Py_IS_FINALIZING() \
|
||||
(_PyRuntime.finalizing != NULL)
|
||||
#define _Py_CURRENTLY_FINALIZING(tstate) \
|
||||
(_PyRuntime.finalizing == tstate)
|
||||
PyAPI_DATA(PyThreadState *) _Py_Finalizing;
|
||||
#endif
|
||||
|
||||
/* Signals */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue