mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
Revert "bpo-36818: Add PyInterpreterState.runtime field. (gh-13129)" (GH-13795)
This reverts commit 396e0a8d9d
.
This commit is contained in:
parent
9535aff942
commit
0fd2c300c2
11 changed files with 103 additions and 99 deletions
|
@ -39,10 +39,13 @@ extern PyStatus _PyFaulthandler_Init(int enable);
|
|||
extern int _PyTraceMalloc_Init(int enable);
|
||||
extern PyObject * _PyBuiltin_Init(void);
|
||||
extern PyStatus _PySys_Create(
|
||||
_PyRuntimeState *runtime,
|
||||
PyInterpreterState *interp,
|
||||
PyObject **sysmod_p);
|
||||
extern PyStatus _PySys_SetPreliminaryStderr(PyObject *sysdict);
|
||||
extern int _PySys_InitMain(PyInterpreterState *interp);
|
||||
extern int _PySys_InitMain(
|
||||
_PyRuntimeState *runtime,
|
||||
PyInterpreterState *interp);
|
||||
extern PyStatus _PyImport_Init(PyInterpreterState *interp);
|
||||
extern PyStatus _PyExc_Init(void);
|
||||
extern PyStatus _PyErr_Init(void);
|
||||
|
@ -83,7 +86,10 @@ extern void _PyHash_Fini(void);
|
|||
extern int _PyTraceMalloc_Fini(void);
|
||||
extern void _PyWarnings_Fini(PyInterpreterState *interp);
|
||||
|
||||
extern void _PyGILState_Init(PyThreadState *tstate);
|
||||
extern void _PyGILState_Init(
|
||||
_PyRuntimeState *runtime,
|
||||
PyInterpreterState *interp,
|
||||
PyThreadState *tstate);
|
||||
extern void _PyGILState_Fini(_PyRuntimeState *runtime);
|
||||
|
||||
PyAPI_FUNC(void) _PyGC_DumpShutdownStats(_PyRuntimeState *runtime);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue