Home
last modified time | relevance | path

Searched refs:SourceFileLoader (Results 1 – 25 of 26) sorted by relevance

12

/third_party/python/Lib/test/test_importlib/source/
Dtest_file_loader.py36 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 …]
Dtest_finder.py42 loader_details = [(self.machinery.SourceFileLoader,
128 finder = self.machinery.FileFinder('', (self.machinery.SourceFileLoader,
140 finder = self.machinery.FileFinder('', (self.machinery.SourceFileLoader,
Dtest_source_encoding.py41 loader = self.machinery.SourceFileLoader(self.module_name,
130 loader = self.machinery.SourceFileLoader(module_name,
Dtest_path_hook.py13 return self.machinery.FileFinder.path_hook((self.machinery.SourceFileLoader,
Dtest_case_sensitivity.py27 (self.machinery.SourceFileLoader,
/third_party/python/Python/
Dmakeopcodetargets.py11 from importlib.machinery import SourceFileLoader
27 return SourceFileLoader(modname, modpath).load_module()
/third_party/python/Lib/test/
Dtest_cmd_line_script.py223 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)
Dtest_asdl_parser.py28 loader = importlib.machinery.SourceFileLoader(
Dtest_pkgutil.py403 importlib.machinery.SourceFileLoader)
/third_party/libabigail/tests/
Dmockfedabipkgdiff.in75 loader = importlib.machinery.SourceFileLoader(name, path)
87 loader = importlib.machinery.SourceFileLoader(name, path)
/third_party/python/Tools/importbench/
Dimportbench.py70 loader = (importlib.machinery.SourceFileLoader,
106 loader = (importlib.machinery.SourceFileLoader,
140 loader = (importlib.machinery.SourceFileLoader,
/third_party/python/Lib/importlib/
Dabc.py261 _register(FileLoader, machinery.SourceFileLoader,
309 _register(SourceLoader, machinery.SourceFileLoader)
Dmachinery.py12 from ._bootstrap_external import SourceFileLoader
D_bootstrap_external.py1085 class SourceFileLoader(FileLoader, SourceLoader): class
1643 loader = SourceFileLoader(name, pathname)
1662 source = SourceFileLoader, SOURCE_SUFFIXES
/third_party/python/Lib/
Dimp.py161 class _LoadSourceCompatibility(_HackedGetData, machinery.SourceFileLoader):
175 module.__loader__ = machinery.SourceFileLoader(name, pathname)
Dpy_compile.py141 loader = importlib.machinery.SourceFileLoader('<py_compile>', file)
Dmodulefinder.py80 if isinstance(spec.loader, importlib.machinery.SourceFileLoader):
Dpydoc.py402 loader = importlib._bootstrap_external.SourceFileLoader(name, path)
/third_party/python/Lib/test/test_importlib/
Dtest_spec.py661 SourceFileLoader = self.util.spec_from_file_location.__globals__['SourceFileLoader']
662 self.assertIsInstance(spec.loader, SourceFileLoader)
/third_party/python/Doc/c-api/
Dimport.rst138 :class:`SourceFileLoader` otherwise.
/third_party/python/Doc/library/
Dimportlib.rst1264 .. class:: SourceFileLoader(fullname, path)
1728 loader = importlib.machinery.SourceFileLoader
1837 loader_details = (importlib.machinery.SourceFileLoader,
/third_party/node/tools/
Dtest.py51 loader_details = (machinery.SourceFileLoader, machinery.SOURCE_SUFFIXES)
/third_party/python/Misc/NEWS.d/
D3.10.0a1.rst1875 SourceFileLoader's resource reader. Avoids the regression identified in
1985 Built-in loaders (SourceFileLoader and ZipImporter) now supply
/third_party/python/Doc/whatsnew/
D3.6.rst2005 The :meth:`importlib.machinery.SourceFileLoader.load_module` and
D3.3.rst726 (:class:`importlib.machinery.SourceFileLoader`), sourceless bytecode files

12