Searched refs:import_func (Results 1 – 5 of 5) sorted by relevance
48 PyObject *import_func; member
270 interp->import_func = PyDict_GetItemString(interp->builtins, "__import__"); in import_init()271 if (interp->import_func == NULL) in import_init()273 Py_INCREF(interp->import_func); in import_init()
93 interp->import_func = NULL; in PyInterpreterState_New()130 Py_CLEAR(interp->import_func); in PyInterpreterState_Clear()
5161 PyObject *import_func, *res; in import_name() local5164 import_func = _PyDict_GetItemId(f->f_builtins, &PyId___import__); in import_name()5165 if (import_func == NULL) { in import_name()5171 if (import_func == PyThreadState_GET()->interp->import_func) { in import_name()5185 Py_INCREF(import_func); in import_name()5192 res = _PyObject_FastCall(import_func, stack, 5); in import_name()5193 Py_DECREF(import_func); in import_name()
1594 interp->import_func, NULL); in PyImport_ImportModuleLevelObject()1660 fromlist, interp->import_func, in PyImport_ImportModuleLevelObject()