Searched refs:spec_from_loader (Results 1 – 17 of 17) sorted by relevance
/third_party/python/Lib/test/test_importlib/ |
D | test_spec.py | 518 spec = self.util.spec_from_loader(self.name, self.loader) 533 spec = self.util.spec_from_loader(self.name, loader) 545 spec = self.util.spec_from_loader(self.name, self.loader, 557 spec = self.util.spec_from_loader(self.name, self.loader, 569 spec = self.util.spec_from_loader(self.name, self.loader, 582 spec = self.util.spec_from_loader(self.name, self.loader, 595 spec = self.util.spec_from_loader(self.name, loader) 607 spec = self.util.spec_from_loader(self.name, loader) 618 spec = self.util.spec_from_loader(self.name, self.fileloader) 629 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 | 375 spec = self.util.spec_from_loader('blah', loader) 391 spec = self.util.spec_from_loader('blah', loader) 426 spec = self.util.spec_from_loader('blah', loader) 487 module.__spec__ = self.util.spec_from_loader(name, loader) 595 spec = self.util.spec_from_loader(self.module_name, loader)
|
/third_party/python/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 | 215 module.__spec__ = self.util.spec_from_loader('_temp', loader) 255 mod.__spec__ = self.util.spec_from_loader('_temp', loader) 287 mod.__spec__ = self.util.spec_from_loader('_temp', loader) 311 mod.__spec__ = self.util.spec_from_loader('_temp', loader) 342 mod.__spec__ = self.util.spec_from_loader('_temp', loader) 512 module.__spec__ = self.util.spec_from_loader(module_name, loader)
|
/third_party/python/Lib/importlib/ |
D | _bootstrap.py | 284 spec = spec_from_loader(fullname, self) 421 def spec_from_loader(name, loader, *, origin=None, is_package=None): function 751 return spec_from_loader(fullname, cls, origin=cls._ORIGIN) 829 return spec_from_loader(fullname, cls, origin=cls._ORIGIN) 918 return spec_from_loader(name, loader)
|
D | util.py | 5 from ._bootstrap import spec_from_loader
|
D | _bootstrap_external.py | 839 spec = _bootstrap.spec_from_loader(fullname, 1385 return _bootstrap.spec_from_loader(fullname, loader)
|
/third_party/libabigail/tests/ |
D | mockfedabipkgdiff.in | 77 spec = importlib.util.spec_from_loader(name, loader)
|
/third_party/python/Lib/test/ |
D | test_asdl_parser.py | 30 spec = importlib.util.spec_from_loader('asdl', loader)
|
D | test_capi.py | 974 spec = importlib.util.spec_from_loader(fullname, loader)
|
/third_party/python/Lib/test/test_importlib/extension/ |
D | test_loader.py | 112 spec = importlib.util.spec_from_loader(fullname, loader)
|
/third_party/python/Lib/ |
D | pkgutil.py | 35 return importlib.util.spec_from_loader(name, loader)
|
D | zipimport.py | 170 return _bootstrap.spec_from_loader(fullname, self, is_package=module_info)
|
/third_party/python/Lib/lib2to3/tests/ |
D | test_parser.py | 115 __spec__ = importlib.util.spec_from_loader(modname, MyLoader())
|
/third_party/python/Doc/library/ |
D | importlib.rst | 284 :func:`importlib.util.spec_from_loader` may be useful for implementing 337 guess about what spec to return. :func:`importlib.util.spec_from_loader` 1661 .. function:: spec_from_loader(name, loader, *, origin=None, is_package=None)
|
/third_party/python/Doc/whatsnew/ |
D | 3.10.rst | 1638 :func:`importlib.util.spec_from_loader` to help in porting. 1644 :func:`importlib.util.spec_from_loader` to help in porting.
|