Home
last modified time | relevance | path

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

/third_party/python/Lib/test/test_importlib/
Dtest_spec.py518 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 …]
Dtest_lazy.py48 return util.spec_from_loader(name, util.LazyLoader(self))
66 spec = util.spec_from_loader(TestingImporter.module_name,
Dtest_abc.py375 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/
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.py215 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.py284 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)
Dutil.py5 from ._bootstrap import spec_from_loader
D_bootstrap_external.py839 spec = _bootstrap.spec_from_loader(fullname,
1385 return _bootstrap.spec_from_loader(fullname, loader)
/third_party/libabigail/tests/
Dmockfedabipkgdiff.in77 spec = importlib.util.spec_from_loader(name, loader)
/third_party/python/Lib/test/
Dtest_asdl_parser.py30 spec = importlib.util.spec_from_loader('asdl', loader)
Dtest_capi.py974 spec = importlib.util.spec_from_loader(fullname, loader)
/third_party/python/Lib/test/test_importlib/extension/
Dtest_loader.py112 spec = importlib.util.spec_from_loader(fullname, loader)
/third_party/python/Lib/
Dpkgutil.py35 return importlib.util.spec_from_loader(name, loader)
Dzipimport.py170 return _bootstrap.spec_from_loader(fullname, self, is_package=module_info)
/third_party/python/Lib/lib2to3/tests/
Dtest_parser.py115 __spec__ = importlib.util.spec_from_loader(modname, MyLoader())
/third_party/python/Doc/library/
Dimportlib.rst284 :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/
D3.10.rst1638 :func:`importlib.util.spec_from_loader` to help in porting.
1644 :func:`importlib.util.spec_from_loader` to help in porting.