Searched refs:_bootstrap_external (Results 1 – 21 of 21) sorted by relevance
/third_party/python/Lib/importlib/ |
D | __init__.py | 34 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
|
D | machinery.py | 6 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 | abc.py | 2 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):
|
D | util.py | 7 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.py | 37 _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/ |
D | zipimport.py | 17 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 …]
|
D | py_compile.py | 7 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)
|
D | imp.py | 20 from importlib._bootstrap_external import SourcelessFileLoader
|
D | modulefinder.py | 4 import importlib._bootstrap_external 344 importlib._bootstrap_external._classify_pyc(data, fqname, {})
|
D | pydoc.py | 59 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/ |
D | test_py_compile.py | 146 flags = importlib._bootstrap_external._classify_pyc( 185 flags = importlib._bootstrap_external._classify_pyc( 193 flags = importlib._bootstrap_external._classify_pyc(
|
D | test_zipimport.py | 195 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/ |
D | test_case_sensitivity.py | 1 from importlib import _bootstrap_external
|
/third_party/python/Lib/test/test_importlib/ |
D | test_windows.py | 141 from importlib._bootstrap_external import _path_join
|
D | util.py | 417 if any(x in self.importlib._bootstrap_external._os.environ
|
/third_party/python/Lib/test/test_importlib/import_/ |
D | test_path.py | 105 *self.importlib._bootstrap_external._get_supported_file_loaders())]
|
/third_party/python/Lib/test/test_import/ |
D | __init__.py | 6 from importlib._bootstrap_external import _get_sourcefile 1059 from importlib import _bootstrap_external 1061 self.assertIs(mod, _bootstrap_external)
|
/third_party/python/patches/ |
D | cpython_mingw_v3.10.2.patch | 1311 diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_external.py 1313 --- a/Lib/importlib/_bootstrap_external.py 1314 +++ b/Lib/importlib/_bootstrap_external.py 2168 # from Lib/importlib/_bootstrap_external.py using _freeze_importlib 2169 - ./Programs/_freeze_importlib importlib._bootstrap_external \ 2170 + ./Programs/_freeze_importlib$(EXE) importlib._bootstrap_external \ 2171 $(srcdir)/Lib/importlib/_bootstrap_external.py \ 10894 + import importlib._bootstrap_external 10895 + self.assertEqual(importlib._bootstrap_external.path_sep, SEP)
|
/third_party/python/ |
D | Makefile.pre.in | 737 # 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/ |
D | 3.9.0a6.rst | 715 Fix ``importlib._bootstrap_external``: avoid creating a new ``winreg``
|
D | 3.10.0a3.rst | 479 ``importlib._bootstrap_external`` now uses regular imports to import builtin
|