Searched refs:SourceFileLoader (Results 1 – 25 of 26) sorted by relevance
12
/third_party/python/Lib/test/test_importlib/source/ |
D | test_file_loader.py | 36 self.loader = self.machinery.SourceFileLoader(self.name, self.filepath) 67 other = self.machinery.SourceFileLoader(self.name, self.filepath) 71 other = self.machinery.SourceFileLoader('_' + self.name, self.filepath) 77 loader = self.machinery.SourceFileLoader('_temp', mapping['_temp']) 89 loader = self.machinery.SourceFileLoader('_pkg', 104 loader = self.machinery.SourceFileLoader('_pkg.mod', 121 loader = self.machinery.SourceFileLoader('_temp', mapping['_temp']) 150 loader = self.machinery.SourceFileLoader('_temp', mapping['_temp']) 167 loader = self.machinery.SourceFileLoader('_temp', mapping['_temp']) 182 loader = self.machinery.SourceFileLoader('_temp', file_path) [all …]
|
D | test_finder.py | 42 loader_details = [(self.machinery.SourceFileLoader, 128 finder = self.machinery.FileFinder('', (self.machinery.SourceFileLoader, 140 finder = self.machinery.FileFinder('', (self.machinery.SourceFileLoader,
|
D | test_source_encoding.py | 41 loader = self.machinery.SourceFileLoader(self.module_name, 130 loader = self.machinery.SourceFileLoader(module_name,
|
D | test_path_hook.py | 13 return self.machinery.FileFinder.path_hook((self.machinery.SourceFileLoader,
|
D | test_case_sensitivity.py | 27 (self.machinery.SourceFileLoader,
|
/third_party/python/Python/ |
D | makeopcodetargets.py | 11 from importlib.machinery import SourceFileLoader 27 return SourceFileLoader(modname, modpath).load_module()
|
/third_party/python/Lib/test/ |
D | test_cmd_line_script.py | 223 importlib.machinery.SourceFileLoader, 236 importlib.machinery.SourceFileLoader) 253 importlib.machinery.SourceFileLoader) 321 importlib.machinery.SourceFileLoader, 346 importlib.machinery.SourceFileLoader, 396 importlib.machinery.SourceFileLoader) 425 importlib.machinery.SourceFileLoader)
|
D | test_asdl_parser.py | 28 loader = importlib.machinery.SourceFileLoader(
|
D | test_pkgutil.py | 403 importlib.machinery.SourceFileLoader)
|
/third_party/libabigail/tests/ |
D | mockfedabipkgdiff.in | 75 loader = importlib.machinery.SourceFileLoader(name, path) 87 loader = importlib.machinery.SourceFileLoader(name, path)
|
/third_party/python/Tools/importbench/ |
D | importbench.py | 70 loader = (importlib.machinery.SourceFileLoader, 106 loader = (importlib.machinery.SourceFileLoader, 140 loader = (importlib.machinery.SourceFileLoader,
|
/third_party/python/Lib/importlib/ |
D | abc.py | 261 _register(FileLoader, machinery.SourceFileLoader, 309 _register(SourceLoader, machinery.SourceFileLoader)
|
D | machinery.py | 12 from ._bootstrap_external import SourceFileLoader
|
D | _bootstrap_external.py | 1085 class SourceFileLoader(FileLoader, SourceLoader): class 1643 loader = SourceFileLoader(name, pathname) 1662 source = SourceFileLoader, SOURCE_SUFFIXES
|
/third_party/python/Lib/ |
D | imp.py | 161 class _LoadSourceCompatibility(_HackedGetData, machinery.SourceFileLoader): 175 module.__loader__ = machinery.SourceFileLoader(name, pathname)
|
D | py_compile.py | 141 loader = importlib.machinery.SourceFileLoader('<py_compile>', file)
|
D | modulefinder.py | 80 if isinstance(spec.loader, importlib.machinery.SourceFileLoader):
|
D | pydoc.py | 402 loader = importlib._bootstrap_external.SourceFileLoader(name, path)
|
/third_party/python/Lib/test/test_importlib/ |
D | test_spec.py | 661 SourceFileLoader = self.util.spec_from_file_location.__globals__['SourceFileLoader'] 662 self.assertIsInstance(spec.loader, SourceFileLoader)
|
/third_party/python/Doc/c-api/ |
D | import.rst | 138 :class:`SourceFileLoader` otherwise.
|
/third_party/python/Doc/library/ |
D | importlib.rst | 1264 .. class:: SourceFileLoader(fullname, path) 1728 loader = importlib.machinery.SourceFileLoader 1837 loader_details = (importlib.machinery.SourceFileLoader,
|
/third_party/node/tools/ |
D | test.py | 51 loader_details = (machinery.SourceFileLoader, machinery.SOURCE_SUFFIXES)
|
/third_party/python/Misc/NEWS.d/ |
D | 3.10.0a1.rst | 1875 SourceFileLoader's resource reader. Avoids the regression identified in 1985 Built-in loaders (SourceFileLoader and ZipImporter) now supply
|
/third_party/python/Doc/whatsnew/ |
D | 3.6.rst | 2005 The :meth:`importlib.machinery.SourceFileLoader.load_module` and
|
D | 3.3.rst | 726 (:class:`importlib.machinery.SourceFileLoader`), sourceless bytecode files
|
12