mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
bpo-36818: Add PyInterpreterState.runtime field. (gh-13129)
https://bugs.python.org/issue36818
This commit is contained in:
parent
1c263e39c4
commit
396e0a8d9d
11 changed files with 99 additions and 103 deletions
|
@ -39,13 +39,10 @@ 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(
|
||||
_PyRuntimeState *runtime,
|
||||
PyInterpreterState *interp);
|
||||
extern int _PySys_InitMain(PyInterpreterState *interp);
|
||||
extern PyStatus _PyImport_Init(PyInterpreterState *interp);
|
||||
extern PyStatus _PyExc_Init(void);
|
||||
extern PyStatus _PyErr_Init(void);
|
||||
|
@ -86,10 +83,7 @@ extern void _PyHash_Fini(void);
|
|||
extern int _PyTraceMalloc_Fini(void);
|
||||
extern void _PyWarnings_Fini(PyInterpreterState *interp);
|
||||
|
||||
extern void _PyGILState_Init(
|
||||
_PyRuntimeState *runtime,
|
||||
PyInterpreterState *interp,
|
||||
PyThreadState *tstate);
|
||||
extern void _PyGILState_Init(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