Home
last modified time | relevance | path

Searched refs:_bootstrap_external (Results 1 – 14 of 14) 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
113 find_module = _bootstrap_external._find_module_shim
233 exec_module = _bootstrap_external._LoaderBasics.exec_module
234 load_module = _bootstrap_external._LoaderBasics.load_module
276 class FileLoader(_bootstrap_external.FileLoader, ResourceLoader, ExecutionLoader):
285 class SourceLoader(_bootstrap_external.SourceLoader, ResourceLoader, ExecutionLoader):
Dutil.py7 from ._bootstrap_external import MAGIC_NUMBER
8 from ._bootstrap_external import cache_from_source
9 from ._bootstrap_external import decode_source
10 from ._bootstrap_external import source_from_cache
11 from ._bootstrap_external import spec_from_file_location
D_bootstrap.py25 _bootstrap_external = None variable
393 if _bootstrap_external is None:
395 self._cached = _bootstrap_external._get_cached(self.origin)
422 if _bootstrap_external is None:
424 spec_from_file_location = _bootstrap_external.spec_from_file_location
508 if _bootstrap_external is None:
510 _NamespaceLoader = _bootstrap_external._NamespaceLoader
1143 global _bootstrap_external
1145 _bootstrap_external = _frozen_importlib_external
/external/python/cpython3/Lib/
Dpy_compile.py6 import importlib._bootstrap_external
140 bytecode = importlib._bootstrap_external._code_to_bytecode(
142 mode = importlib._bootstrap_external._calc_mode(file)
143 importlib._bootstrap_external._write_atomic(cfile, bytecode, mode)
Dmodulefinder.py4 import importlib._bootstrap_external
291 marshal_data = importlib._bootstrap_external._validate_bytecode_header(fp.read())
Dimp.py20 from importlib._bootstrap_external import SourcelessFileLoader
Dpydoc.py56 import importlib._bootstrap_external
308 loader = importlib._bootstrap_external.SourcelessFileLoader(name, path)
310 loader = importlib._bootstrap_external.SourceFileLoader(name, path)
/external/python/cpython3/Lib/test/test_importlib/extension/
Dtest_case_sensitivity.py1 from importlib import _bootstrap_external
/external/python/cpython3/Lib/test/test_import/
D__init__.py4 from importlib._bootstrap_external import _get_sourcefile
876 from importlib import _bootstrap_external
878 self.assertIs(mod, _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_importlib/
Dutil.py386 if any(x in self.importlib._bootstrap_external._os.environ
/external/python/cpython3/
DMakefile.pre.in552 @touch $(srcdir)/Lib/importlib/_bootstrap_external.py
724 Python/importlib_external.h: @GENERATED_COMMENT@ $(srcdir)/Lib/importlib/_bootstrap_external.py Pro…
726 $(srcdir)/Lib/importlib/_bootstrap_external.py Python/importlib_external.h