Home
last modified time | relevance | path

Searched refs:_bootstrap_external (Results 1 – 16 of 16) sorted by relevance

/external/python/cpython3/Lib/importlib/
D__init__.py34 import _frozen_importlib_external as _bootstrap_external namespace
36 from . import _bootstrap_external
37 _bootstrap_external._setup(_bootstrap)
38 _bootstrap._bootstrap_external = _bootstrap_external
40 _bootstrap_external.__name__ = 'importlib._bootstrap_external'
41 _bootstrap_external.__package__ = 'importlib'
43 _bootstrap_external.__file__ = __file__.replace('__init__.py', '_bootstrap_external.py')
48 sys.modules['importlib._bootstrap_external'] = _bootstrap_external
51 _w_long = _bootstrap_external._w_long
52 _r_long = _bootstrap_external._r_long
Dmachinery.py8 from ._bootstrap_external import (SOURCE_SUFFIXES, DEBUG_BYTECODE_SUFFIXES,
11 from ._bootstrap_external import WindowsRegistryFinder
12 from ._bootstrap_external import PathFinder
13 from ._bootstrap_external import FileFinder
14 from ._bootstrap_external import SourceFileLoader
15 from ._bootstrap_external import SourcelessFileLoader
16 from ._bootstrap_external import ExtensionFileLoader
Dabc.py3 from . import _bootstrap_external
14 _frozen_importlib_external = _bootstrap_external
126 find_module = _bootstrap_external._find_module_shim
246 exec_module = _bootstrap_external._LoaderBasics.exec_module
247 load_module = _bootstrap_external._LoaderBasics.load_module
289 class FileLoader(_bootstrap_external.FileLoader, ResourceLoader, ExecutionLoader):
298 class SourceLoader(_bootstrap_external.SourceLoader, ResourceLoader, ExecutionLoader):
Dutil.py7 from ._bootstrap_external import MAGIC_NUMBER
8 from ._bootstrap_external import _RAW_MAGIC_NUMBER
9 from ._bootstrap_external import cache_from_source
10 from ._bootstrap_external import decode_source
11 from ._bootstrap_external import source_from_cache
12 from ._bootstrap_external import spec_from_file_location
D_bootstrap.py25 _bootstrap_external = None variable
407 if _bootstrap_external is None:
409 self._cached = _bootstrap_external._get_cached(self.origin)
436 if _bootstrap_external is None:
438 spec_from_file_location = _bootstrap_external.spec_from_file_location
519 if _bootstrap_external is None:
521 _NamespaceLoader = _bootstrap_external._NamespaceLoader
1161 global _bootstrap_external
1163 _bootstrap_external = _frozen_importlib_external
/external/python/cpython3/Lib/
Dpy_compile.py7 import importlib._bootstrap_external
159 bytecode = importlib._bootstrap_external._code_to_timestamp_pyc(
163 bytecode = importlib._bootstrap_external._code_to_hash_pyc(
168 mode = importlib._bootstrap_external._calc_mode(file)
169 importlib._bootstrap_external._write_atomic(cfile, bytecode, mode)
Dimp.py20 from importlib._bootstrap_external import SourcelessFileLoader
Dmodulefinder.py4 import importlib._bootstrap_external
291 importlib._bootstrap_external._classify_pyc(data, fqname, {})
Dpydoc.py59 import importlib._bootstrap_external
311 loader = importlib._bootstrap_external.SourcelessFileLoader(name, path)
313 loader = importlib._bootstrap_external.SourceFileLoader(name, path)
/external/python/cpython3/Lib/test/
Dtest_py_compile.py144 flags = importlib._bootstrap_external._classify_pyc(
183 flags = importlib._bootstrap_external._classify_pyc(
191 flags = importlib._bootstrap_external._classify_pyc(
Dtest_zipimport.py193 bytecode = importlib._bootstrap_external._code_to_hash_pyc(
/external/python/cpython3/Lib/test/test_importlib/extension/
Dtest_case_sensitivity.py1 from importlib import _bootstrap_external
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_path.py104 *self.importlib._bootstrap_external._get_supported_file_loaders())]
/external/python/cpython3/Lib/test/test_import/
D__init__.py4 from importlib._bootstrap_external import _get_sourcefile
982 from importlib import _bootstrap_external
984 self.assertIs(mod, _bootstrap_external)
/external/python/cpython3/Lib/test/test_importlib/
Dutil.py393 if any(x in self.importlib._bootstrap_external._os.environ
/external/python/cpython3/
DMakefile.pre.in732 # from Lib/importlib/_bootstrap_external.py using _freeze_importlib
734 $(srcdir)/Lib/importlib/_bootstrap_external.py \