Searched refs:_bootstrap_external (Results 1 - 17 of 17) sorted by relevance
/third_party/python/Lib/importlib/ |
H A 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 15 from ._bootstrap_external import NamespaceLoader
|
H A D | __init__.py | 34 import _frozen_importlib_external as _bootstrap_external namespace 36 from . import _bootstrap_external namespace 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 [all...] |
H A D | abc.py | 2 from . import _bootstrap_external namespace 13 _frozen_importlib_external = _bootstrap_external 151 find_module = _bootstrap_external._find_module_shim 224 exec_module = _bootstrap_external._LoaderBasics.exec_module 225 load_module = _bootstrap_external._LoaderBasics.load_module 267 class FileLoader(_bootstrap_external.FileLoader, ResourceLoader, ExecutionLoader): 276 class SourceLoader(_bootstrap_external.SourceLoader, ResourceLoader, ExecutionLoader):
|
H A 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
|
H A D | _bootstrap.py | 37 _bootstrap_external = None variable 396 if _bootstrap_external is None: 398 self._cached = _bootstrap_external._get_cached(self.origin) 428 if _bootstrap_external is None: 430 spec_from_file_location = _bootstrap_external.spec_from_file_location 508 if _bootstrap_external is None: 510 NamespaceLoader = _bootstrap_external.NamespaceLoader 1362 global _bootstrap_external 1364 _bootstrap_external = _frozen_importlib_external
|
/third_party/python/Lib/ |
H A D | zipimport.py | 15 #from importlib import _bootstrap_external 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): 75 st = _bootstrap_external._path_stat(path) 79 dirname, basename = _bootstrap_external._path_split(path) 99 self.prefix = _bootstrap_external._path_join(*prefix[::-1]) 245 fullpath = _bootstrap_external._path_join(path, '__init__.py') 295 fullpath = _bootstrap_external [all...] |
H A D | py_compile.py | 7 import importlib._bootstrap_external namespace 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)
|
H A D | modulefinder.py | 4 import importlib._bootstrap_external namespace 336 importlib._bootstrap_external._classify_pyc(data, fqname, {})
|
H A D | imp.py | 20 from importlib._bootstrap_external import SourcelessFileLoader
|
H A D | pydoc.py | 60 import importlib._bootstrap_external namespace 407 loader = importlib._bootstrap_external.SourcelessFileLoader(name, path) 409 loader = importlib._bootstrap_external.SourceFileLoader(name, path)
|
/third_party/python/Lib/test/test_importlib/extension/ |
H A D | test_case_sensitivity.py | 1 from importlib import _bootstrap_external
|
/third_party/python/Lib/test/ |
H A 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(
|
H A D | test_zipimport.py | 196 bytecode = importlib._bootstrap_external._code_to_hash_pyc( 211 bytecode = importlib._bootstrap_external._code_to_hash_pyc(
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_windows.py | 151 from importlib._bootstrap_external import _path_join
|
H A D | util.py | 408 if any(x in self.importlib._bootstrap_external._os.environ
|
/third_party/python/Lib/test/test_importlib/import_/ |
H A D | test_path.py | 105 *self.importlib._bootstrap_external._get_supported_file_loaders())]
|
/third_party/python/Lib/test/test_import/ |
H A D | __init__.py | 6 from importlib._bootstrap_external import _get_sourcefile 1080 from importlib import _bootstrap_external 1082 self.assertIs(mod, _bootstrap_external) 1083 self.assertEqual(mod.__name__, 'importlib._bootstrap_external') 1085 self.assertTrue(mod.__file__.endswith('_bootstrap_external.py'), mod.__file__) 1099 """Test importlib._bootstrap_external._get_sourcefile() as used by the C API. 1109 with mock.patch('importlib._bootstrap_external._path_isfile') as _path_isfile: 1118 with mock.patch('importlib._bootstrap_external._path_isfile') as _path_isfile:
|
Completed in 14 milliseconds