Lines Matching refs:cls
871 def _search_registry(cls, fullname):
872 if cls.DEBUG_BUILD:
873 registry_key = cls.REGISTRY_KEY_DEBUG
875 registry_key = cls.REGISTRY_KEY
879 with cls._open_registry(key) as hkey:
886 def find_spec(cls, fullname, path=None, target=None):
887 filepath = cls._search_registry(fullname)
902 def find_module(cls, fullname, path=None):
911 spec = cls.find_spec(fullname, path)
1422 def _path_importer_cache(cls, path):
1439 finder = cls._path_hooks(path)
1444 def _legacy_get_spec(cls, fullname, finder):
1465 def _get_spec(cls, fullname, path, target=None):
1473 finder = cls._path_importer_cache(entry)
1478 spec = cls._legacy_get_spec(fullname, finder)
1497 def find_spec(cls, fullname, path=None, target=None):
1504 spec = cls._get_spec(fullname, path, target)
1513 spec.submodule_search_locations = _NamespacePath(fullname, namespace_path, cls._get_spec)
1521 def find_module(cls, fullname, path=None):
1531 spec = cls.find_spec(fullname, path)
1687 def path_hook(cls, *loader_details):
1700 return cls(path, *loader_details)