Home
last modified time | relevance | path

Searched refs:modules_reloading (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Include/
Dpystate.h24 PyObject *modules_reloading; member
/external/python/cpython2/Python/
Dpystate.c70 interp->modules_reloading = NULL; in PyInterpreterState_New()
110 Py_CLEAR(interp->modules_reloading); in PyInterpreterState_Clear()
Dimport.c390 if (interp->modules_reloading != NULL) in imp_modules_reloading_clear()
391 PyDict_Clear(interp->modules_reloading); in imp_modules_reloading_clear()
577 Py_CLEAR(interp->modules_reloading); in PyImport_Cleanup()
2769 PyObject *modules_reloading = interp->modules_reloading; in PyImport_ReloadModule() local
2778 if (modules_reloading == NULL) { in PyImport_ReloadModule()
2798 existing_m = PyDict_GetItemString(modules_reloading, name); in PyImport_ReloadModule()
2805 if (PyDict_SetItemString(modules_reloading, name, m) < 0) in PyImport_ReloadModule()
Dpythonrun.c231 interp->modules_reloading = PyDict_New(); in Py_InitializeEx()
232 if (interp->modules_reloading == NULL) in Py_InitializeEx()
609 interp->modules_reloading = PyDict_New(); in Py_NewInterpreter()