Home
last modified time | relevance | path

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

/third_party/python/Lib/importlib/
Dmachinery.py6 from ._bootstrap_external import (SOURCE_SUFFIXES, DEBUG_BYTECODE_SUFFIXES,
9 from ._bootstrap_external import WindowsRegistryFinder
10 from ._bootstrap_external import PathFinder
11 from ._bootstrap_external import FileFinder
12 from ._bootstrap_external import SourceFileLoader
13 from ._bootstrap_external import SourcelessFileLoader
14 from ._bootstrap_external import ExtensionFileLoader
D__init__.py34 import _frozen_importlib_external as _bootstrap_external namespace
36 from . import _bootstrap_external
37 _bootstrap_external._set_bootstrap_module(_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 _pack_uint32 = _bootstrap_external._pack_uint32
52 _unpack_uint32 = _bootstrap_external._unpack_uint32
Dabc.py2 from . import _bootstrap_external
13 _frozen_importlib_external = _bootstrap_external
140 find_module = _bootstrap_external._find_module_shim
213 exec_module = _bootstrap_external._LoaderBasics.exec_module
214 load_module = _bootstrap_external._LoaderBasics.load_module
256 class FileLoader(_bootstrap_external.FileLoader, ResourceLoader, ExecutionLoader):
265 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.py37 _bootstrap_external = None variable
395 if _bootstrap_external is None:
397 self._cached = _bootstrap_external._get_cached(self.origin)
424 if _bootstrap_external is None:
426 spec_from_file_location = _bootstrap_external.spec_from_file_location
507 if _bootstrap_external is None:
509 _NamespaceLoader = _bootstrap_external._NamespaceLoader
1206 global _bootstrap_external
1208 _bootstrap_external = _frozen_importlib_external
/third_party/python/Lib/
Dzipimport.py17 import _frozen_importlib_external as _bootstrap_external namespace
30 path_sep = _bootstrap_external.path_sep
31 alt_path_sep = _bootstrap_external.path_separators[1:]
46 class zipimporter(_bootstrap_external._LoaderBasics):
76 st = _bootstrap_external._path_stat(path)
80 dirname, basename = _bootstrap_external._path_split(path)
100 self.prefix = _bootstrap_external._path_join(*prefix[::-1])
246 fullpath = _bootstrap_external._path_join(path, '__init__.py')
296 fullpath = _bootstrap_external._path_join(self.archive, path)
301 _bootstrap_external._fix_up_module(mod.__dict__, fullname, modpath)
[all …]
Dpy_compile.py7 import importlib._bootstrap_external
162 bytecode = importlib._bootstrap_external._code_to_timestamp_pyc(
166 bytecode = importlib._bootstrap_external._code_to_hash_pyc(
171 mode = importlib._bootstrap_external._calc_mode(file)
172 importlib._bootstrap_external._write_atomic(cfile, bytecode, mode)
Dimp.py20 from importlib._bootstrap_external import SourcelessFileLoader
Dmodulefinder.py4 import importlib._bootstrap_external
344 importlib._bootstrap_external._classify_pyc(data, fqname, {})
Dpydoc.py59 import importlib._bootstrap_external
400 loader = importlib._bootstrap_external.SourcelessFileLoader(name, path)
402 loader = importlib._bootstrap_external.SourceFileLoader(name, path)
/third_party/python/Lib/test/
Dtest_py_compile.py146 flags = importlib._bootstrap_external._classify_pyc(
185 flags = importlib._bootstrap_external._classify_pyc(
193 flags = importlib._bootstrap_external._classify_pyc(
Dtest_zipimport.py195 bytecode = importlib._bootstrap_external._code_to_hash_pyc(
210 bytecode = importlib._bootstrap_external._code_to_hash_pyc(
/third_party/python/Lib/test/test_importlib/extension/
Dtest_case_sensitivity.py1 from importlib import _bootstrap_external
/third_party/python/Lib/test/test_importlib/
Dtest_windows.py141 from importlib._bootstrap_external import _path_join
Dutil.py417 if any(x in self.importlib._bootstrap_external._os.environ
/third_party/python/Lib/test/test_importlib/import_/
Dtest_path.py105 *self.importlib._bootstrap_external._get_supported_file_loaders())]
/third_party/python/Lib/test/test_import/
D__init__.py6 from importlib._bootstrap_external import _get_sourcefile
1059 from importlib import _bootstrap_external
1061 self.assertIs(mod, _bootstrap_external)
/third_party/python/
DMakefile.pre.in737 # from Lib/importlib/_bootstrap_external.py using _freeze_importlib
738 ./Programs/_freeze_importlib importlib._bootstrap_external \
739 $(srcdir)/Lib/importlib/_bootstrap_external.py \
/third_party/python/Misc/NEWS.d/
D3.9.0a6.rst715 Fix ``importlib._bootstrap_external``: avoid creating a new ``winreg``
D3.10.0a3.rst479 ``importlib._bootstrap_external`` now uses regular imports to import builtin