Home
last modified time | relevance | path

Searched refs:spec_from_loader (Results 1 – 11 of 11) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/
Dtest_spec.py510 spec = self.util.spec_from_loader(self.name, self.loader)
525 spec = self.util.spec_from_loader(self.name, loader)
537 spec = self.util.spec_from_loader(self.name, self.loader,
549 spec = self.util.spec_from_loader(self.name, self.loader,
561 spec = self.util.spec_from_loader(self.name, self.loader,
574 spec = self.util.spec_from_loader(self.name, self.loader,
587 spec = self.util.spec_from_loader(self.name, loader)
599 spec = self.util.spec_from_loader(self.name, loader)
610 spec = self.util.spec_from_loader(self.name, self.fileloader)
621 spec = self.util.spec_from_loader(self.name, self.fileloader,
[all …]
Dtest_lazy.py48 return util.spec_from_loader(name, util.LazyLoader(self))
66 spec = util.spec_from_loader(TestingImporter.module_name,
Dtest_abc.py330 spec = self.util.spec_from_loader('blah', loader)
364 spec = self.util.spec_from_loader('blah', loader)
419 module.__spec__ = self.util.spec_from_loader(name, loader)
527 spec = self.util.spec_from_loader(self.module_name, loader)
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_source_encoding.py95 module.__spec__ = importlib.util.spec_from_loader(self.module_name, loader)
151 module.__spec__ = importlib.util.spec_from_loader(module_name, loader)
Dtest_file_loader.py212 module.__spec__ = self.util.spec_from_loader('_temp', loader)
352 module.__spec__ = self.util.spec_from_loader(module_name, loader)
/external/python/cpython3/Lib/importlib/
D_bootstrap.py245 spec = spec_from_loader(fullname, self)
419 def spec_from_loader(name, loader, *, origin=None, is_package=None): function
703 return spec_from_loader(fullname, cls, origin='built-in')
774 return spec_from_loader(fullname, cls, origin='frozen')
858 return spec_from_loader(name, loader)
Dutil.py5 from ._bootstrap import spec_from_loader
D_bootstrap_external.py637 spec = _bootstrap.spec_from_loader(fullname,
1112 return _bootstrap.spec_from_loader(fullname, loader)
/external/python/cpython3/Lib/test/test_importlib/extension/
Dtest_loader.py168 spec = importlib.util.spec_from_loader(fullname, loader)
/external/python/cpython3/Lib/
Dpkgutil.py35 return importlib.util.spec_from_loader(name, loader)
/external/python/cpython3/Doc/library/
Dimportlib.rst1292 .. function:: spec_from_loader(name, loader, *, origin=None, is_package=None)