mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Issue #10241: Clear extension module dict copies at interpreter shutdown.
Patch by Neil Schemenauer, minimally modified. (re-apply after fix for tkinter-related crash)
This commit is contained in:
parent
584e815114
commit
40322e6ad5
4 changed files with 33 additions and 0 deletions
|
@ -134,6 +134,9 @@ PyAPI_FUNC(int) PyState_AddModule(PyObject*, struct PyModuleDef*);
|
|||
PyAPI_FUNC(int) PyState_RemoveModule(struct PyModuleDef*);
|
||||
#endif
|
||||
PyAPI_FUNC(PyObject*) PyState_FindModule(struct PyModuleDef*);
|
||||
#ifndef Py_LIMITED_API
|
||||
PyAPI_FUNC(void) _PyState_ClearModules(void);
|
||||
#endif
|
||||
|
||||
PyAPI_FUNC(PyThreadState *) PyThreadState_New(PyInterpreterState *);
|
||||
PyAPI_FUNC(PyThreadState *) _PyThreadState_Prealloc(PyInterpreterState *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue