Searched refs:spec_from_loader (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_spec.py | 510 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 …]
|
D | test_lazy.py | 48 return util.spec_from_loader(name, util.LazyLoader(self)) 66 spec = util.spec_from_loader(TestingImporter.module_name,
|
D | test_abc.py | 330 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/ |
D | test_source_encoding.py | 95 module.__spec__ = importlib.util.spec_from_loader(self.module_name, loader) 151 module.__spec__ = importlib.util.spec_from_loader(module_name, loader)
|
D | test_file_loader.py | 212 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.py | 245 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)
|
D | util.py | 5 from ._bootstrap import spec_from_loader
|
D | _bootstrap_external.py | 637 spec = _bootstrap.spec_from_loader(fullname, 1112 return _bootstrap.spec_from_loader(fullname, loader)
|
/external/python/cpython3/Lib/test/test_importlib/extension/ |
D | test_loader.py | 168 spec = importlib.util.spec_from_loader(fullname, loader)
|
/external/python/cpython3/Lib/ |
D | pkgutil.py | 35 return importlib.util.spec_from_loader(name, loader)
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 1292 .. function:: spec_from_loader(name, loader, *, origin=None, is_package=None)
|