Searched refs:import_func (Results 1 – 5 of 5) sorted by relevance
152 PyObject *import_func; member
309 interp->import_func = PyDict_GetItemString(interp->builtins, "__import__"); in initimport()310 if (interp->import_func == NULL) in initimport()312 Py_INCREF(interp->import_func); in initimport()
151 interp->import_func = NULL; in PyInterpreterState_New()212 Py_CLEAR(interp->import_func); in PyInterpreterState_Clear()
4755 PyObject *import_func, *res; in import_name() local4758 import_func = _PyDict_GetItemId(f->f_builtins, &PyId___import__); in import_name()4759 if (import_func == NULL) { in import_name()4765 if (import_func == PyThreadState_GET()->interp->import_func) { in import_name()4779 Py_INCREF(import_func); in import_name()4786 res = _PyObject_FastCall(import_func, stack, 5); in import_name()4787 Py_DECREF(import_func); in import_name()
1648 interp->import_func, NULL); in import_find_and_load()1819 fromlist, interp->import_func, in PyImport_ImportModuleLevelObject()