Home
last modified time | relevance | path

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

/external/python/cpython3/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.py24 (self.machinery.SourceFileLoader,
/external/python/cpython3/Python/
Dmakeopcodetargets.py11 from importlib.machinery import SourceFileLoader
27 return SourceFileLoader(modname, modpath).load_module()
/external/python/cpython3/Lib/importlib/
Dabc.py294 _register(FileLoader, machinery.SourceFileLoader,
342 _register(SourceLoader, machinery.SourceFileLoader)
388 _register(ResourceReader, machinery.SourceFileLoader)
Dmachinery.py14 from ._bootstrap_external import SourceFileLoader
D_bootstrap_external.py947 class SourceFileLoader(FileLoader, SourceLoader): class
1469 loader = SourceFileLoader(name, pathname)
1488 source = SourceFileLoader, SOURCE_SUFFIXES
/external/python/cpython3/Lib/test/
Dtest_cmd_line_script.py221 importlib.machinery.SourceFileLoader)
238 importlib.machinery.SourceFileLoader)
284 importlib.machinery.SourceFileLoader,
309 importlib.machinery.SourceFileLoader,
359 importlib.machinery.SourceFileLoader)
388 importlib.machinery.SourceFileLoader)
Dtest_asdl_parser.py27 loader = importlib.machinery.SourceFileLoader(
Dtest_pkgutil.py311 importlib.machinery.SourceFileLoader)
/external/python/cpython3/Tools/importbench/
Dimportbench.py70 loader = (importlib.machinery.SourceFileLoader,
106 loader = (importlib.machinery.SourceFileLoader,
140 loader = (importlib.machinery.SourceFileLoader,
/external/python/cpython3/Lib/
Dimp.py160 class _LoadSourceCompatibility(_HackedGetData, machinery.SourceFileLoader):
174 module.__loader__ = machinery.SourceFileLoader(name, pathname)
Dpy_compile.py139 loader = importlib.machinery.SourceFileLoader('<py_compile>', file)
Dpydoc.py313 loader = importlib._bootstrap_external.SourceFileLoader(name, path)
/external/python/cpython3/Doc/c-api/
Dimport.rst138 :class:`SourceFileLoader` otherwise.
/external/python/cpython3/Lib/test/test_importlib/
Dtest_spec.py654 self.util.abc.machinery.SourceFileLoader)
/external/python/cpython3/Doc/library/
Dimportlib.rst1150 .. class:: SourceFileLoader(fullname, path)
1608 loader = importlib.machinery.SourceFileLoader
1694 loader_details = (importlib.machinery.SourceFileLoader,
/external/python/cpython3/Doc/whatsnew/
D3.6.rst2005 The :meth:`importlib.machinery.SourceFileLoader.load_module` and
D3.3.rst726 (:class:`importlib.machinery.SourceFileLoader`), sourceless bytecode files
/external/python/cpython3/Misc/
DHISTORY7852 SourceFileLoader, SourcelessFileLoader, ExtensionFileLoader).