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()
555 Py_CLEAR(interp->modules_reloading); in PyImport_Cleanup()
2747 PyObject *modules_reloading = interp->modules_reloading; in PyImport_ReloadModule() local
2756 if (modules_reloading == NULL) { in PyImport_ReloadModule()
2776 existing_m = PyDict_GetItemString(modules_reloading, name); in PyImport_ReloadModule()
2783 if (PyDict_SetItemString(modules_reloading, name, m) < 0) in PyImport_ReloadModule()
Dpythonrun.c224 interp->modules_reloading = PyDict_New(); in Py_InitializeEx()
225 if (interp->modules_reloading == NULL) in Py_InitializeEx()
600 interp->modules_reloading = PyDict_New(); in Py_NewInterpreter()