Searched refs:SourceLoader (Results 1 - 5 of 5) sorted by relevance
/third_party/python/Lib/importlib/ |
H A D | abc.py | 25 'FileLoader', 'SourceLoader', 276 class SourceLoader(_bootstrap_external.SourceLoader, ResourceLoader, ExecutionLoader): class 295 if self.path_stats.__func__ is SourceLoader.path_stats: 306 if self.path_mtime.__func__ is SourceLoader.path_mtime: 320 _register(SourceLoader, machinery.SourceFileLoader)
|
H A D | _bootstrap_external.py | 920 """Base class of common code needed by both SourceLoader and 948 class SourceLoader(_LoaderBasics): class 1129 if isinstance(self, (SourceLoader, ExtensionFileLoader)): 1142 class SourceFileLoader(FileLoader, SourceLoader): 1144 """Concrete implementation of SourceLoader using the file system."""
|
/third_party/python/Lib/test/test_importlib/ |
H A D | test_abc.py | 117 class SourceLoader(InheritanceTests): class 124 ) = test_util.test_both(SourceLoader, abc=abc) 701 ##### SourceLoader concrete methods ############################################ 723 SPLIT_SOL = make_abc_subclasses(SourceOnlyLoader, 'SourceLoader') 726 class SourceLoader(SourceOnlyLoader): class 764 SPLIT_SL = make_abc_subclasses(SourceLoader, util=util, init=init) 807 """Test importlib.abc.SourceLoader for source-only loading. 894 """Test importlib.abc.SourceLoader's use of bytecode. 989 """Tests for importlib.abc.SourceLoader.get_source()."""
|
/third_party/python/Lib/test/test_import/ |
H A D | __init__.py | 1274 if 'load_module' in vars(importlib.SourceLoader): 1275 old_exec_module = importlib.SourceLoader.exec_module 1281 importlib.SourceLoader.exec_module = exec_module 1291 del importlib.SourceLoader.exec_module 1293 importlib.SourceLoader.exec_module = old_exec_module
|
/third_party/python/Lib/idlelib/ |
H A D | query.py | 211 if not isinstance(spec.loader, importlib.abc.SourceLoader):
|
Completed in 8 milliseconds