Lines Matching refs:path_hooks
56 PyObject *path_hooks, *zipimport; in _PyImportZip_Init() local
59 path_hooks = PySys_GetObject("path_hooks"); in _PyImportZip_Init()
60 if (path_hooks == NULL) { in _PyImportZip_Init()
91 err = PyList_Insert(path_hooks, 0, zipimporter); in _PyImportZip_Init()
938 PyObject *path_hooks, PyObject *p) in get_path_importer() argument
944 assert(PyList_Check(path_hooks)); in get_path_importer()
947 nhooks = PyList_Size(path_hooks); in get_path_importer()
962 PyObject *hook = PyList_GetItem(path_hooks, j); in get_path_importer()
989 PyObject *path_hooks = PySys_GetObject("path_hooks"); in PyImport_GetImporter() local
990 if (path_importer_cache == NULL || path_hooks == NULL) { in PyImport_GetImporter()
993 return get_path_importer(tstate, path_importer_cache, path_hooks, path); in PyImport_GetImporter()