Lines Matching refs:finder
1328 for name, finder in list(sys.path_importer_cache.items()):
1329 if finder is None:
1331 elif hasattr(finder, 'invalidate_caches'):
1332 finder.invalidate_caches()
1363 finder = sys.path_importer_cache[path]
1365 finder = cls._path_hooks(path)
1366 sys.path_importer_cache[path] = finder
1367 return finder
1370 def _legacy_get_spec(cls, fullname, finder): argument
1373 if hasattr(finder, 'find_loader'):
1377 loader, portions = finder.find_loader(fullname)
1382 loader = finder.find_module(fullname)
1399 finder = cls._path_importer_cache(entry)
1400 if finder is not None:
1401 if hasattr(finder, 'find_spec'):
1402 spec = finder.find_spec(fullname, target)
1404 spec = cls._legacy_get_spec(fullname, finder)