/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_path.py | 127 self.machinery.PathFinder.find_spec('whatever', [path])) 131 spec = self.machinery.PathFinder.find_spec('whatever', [path]) 143 self.machinery.PathFinder.find_spec('whatever', [path])) 147 spec = self.machinery.PathFinder.find_spec('whatever', [path]) 153 def find_spec(self, fullname, target=None): member in FinderTests.test_finder_with_find_spec.TestFinder 158 self.machinery.PathFinder.find_spec('whatever', [path])) 162 got = self.machinery.PathFinder.find_spec('whatever', [path]) 185 self.assertIsNone(self.machinery.PathFinder.find_spec('whatever')) 223 return self.machinery.PathFinder.find_spec(*args, **kwargs) 251 self.machinery.PathFinder.find_spec('importlib')
|
D | test___loader__.py | 11 def find_spec(self, fullname, path=None, target=None): member in SpecLoaderMock
|
D | test_api.py | 14 def find_spec(cls, fullname, path=None, target=None): member in BadSpecFinderLoader
|
D | test_meta_path.py | 29 first.find_spec = lambda self, fullname, path=None, parent=None: None
|
/external/python/cpython3/Lib/test/test_importlib/ |
D | test_util.py | 405 def find_spec(name, path=None, target=None): return name, path, target member in FindSpecTests.FakeMetaFinder 416 found = self.util.find_spec(name) 428 found = self.util.find_spec(name) 438 self.util.find_spec(name) 447 found = self.util.find_spec(name) 460 self.util.find_spec(name) 467 self.util.find_spec(name)) 471 self.assertIsNone(self.util.find_spec('nevergoingtofindthismodule')) 478 spec = self.util.find_spec(fullname) 483 spec_again = self.util.find_spec(fullname) [all …]
|
D | test_windows.py | 64 spec = self.machinery.WindowsRegistryFinder.find_spec('spam') 74 spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module) 81 spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module)
|
D | test_lazy.py | 45 def find_spec(self, name, path, target=None): member in TestingImporter
|
D | test_abc.py | 354 def find_spec(self, fullname, path, target=None): member in MetaPathFinderFindModuleTests.finder.MetaPathSpecFinder 391 def find_spec(self, fullname, target=None): member in PathEntryFinderFindLoaderTests.finder.PathEntrySpecFinder
|
/external/python/cpython3/Lib/test/test_importlib/builtin/ |
D | test_finder.py | 18 found = self.machinery.BuiltinImporter.find_spec(util.BUILTINS.good_name) 37 spec = self.machinery.BuiltinImporter.find_spec(name) 43 spec = self.machinery.BuiltinImporter.find_spec(util.BUILTINS.good_name,
|
/external/python/cpython3/Lib/idlelib/ |
D | mainmenu.py | 11 from importlib.util import find_spec 116 if find_spec('turtledemo'):
|
D | query.py | 193 spec = importlib.util.find_spec(name)
|
/external/python/cpython3/Lib/test/ |
D | test_threaded_import.py | 76 def find_spec(self, name, path=None, target=None): member in Finder 91 def find_spec(self, name, path=None, target=None): member in FlushingFinder 163 finder.find_spec('') 169 flushing_finder.find_spec('')
|
/external/python/cpython3/Lib/ |
D | pkgutil.py | 30 find_spec = finder.find_spec 37 return find_spec(name) 493 spec = importlib.util.find_spec(fullname) 564 spec = finder.find_spec(final_name) 619 spec = importlib.util.find_spec(package)
|
D | runpy.py | 128 spec = importlib.util.find_spec(mod_name)
|
/external/python/cpython3/Lib/importlib/ |
D | _bootstrap.py | 720 def find_spec(cls, fullname, path=None, target=None): member in BuiltinImporter 737 spec = cls.find_spec(fullname, path) 793 def find_spec(cls, fullname, path=None, target=None): member in FrozenImporter 900 find_spec = finder.find_spec 906 spec = find_spec(name, path, target) 1110 spec = BuiltinImporter.find_spec(name)
|
D | abc.py | 75 found = self.find_spec(fullname, path) 116 found = self.find_spec(fullname)
|
D | _bootstrap_external.py | 677 def find_spec(cls, fullname, path=None, target=None): member in WindowsRegistryFinder 699 spec = cls.find_spec(fullname, path) 1252 spec = finder.find_spec(fullname, target) 1273 def find_spec(cls, fullname, path=None, target=None): member in PathFinder 1304 spec = cls.find_spec(fullname, path) 1346 spec = self.find_spec(fullname) 1356 def find_spec(self, fullname, target=None): member in FileFinder
|
D | util.py | 73 def find_spec(name, package=None): function
|
/external/python/cpython3/Doc/reference/ |
D | import.rst | 276 pair: finder; find_spec 282 :meth:`~importlib.abc.MetaPathFinder.find_spec()` which takes three arguments: 293 The :meth:`~importlib.abc.MetaPathFinder.find_spec()` method of meta path 307 ``mpf.find_spec("foo", None, None)`` on each meta path finder (``mpf``). After 310 ``mpf.find_spec("foo.bar", foo.__path__, None)``. Once ``foo.bar`` has been 312 ``mpf.find_spec("foo.bar.baz", foo.bar.__path__, None)``. 324 The :meth:`~importlib.abc.MetaPathFinder.find_spec` method of meta path 328 ``find_spec()``. 422 :meth:`~importlib.abc.MetaPathFinder.find_spec` method would just return a 769 :meth:`~importlib.abc.MetaPathFinder.find_spec` protocol previously [all …]
|
/external/python/cpython3/Lib/test/test_importlib/frozen/ |
D | test_finder.py | 15 return finder.find_spec(name, path)
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_case_sensitivity.py | 74 found = finder.find_spec(self.name)
|
D | test_finder.py | 195 spec = finder.find_spec(name)
|
/external/python/cpython3/Doc/library/ |
D | importlib.rst | 136 Use :func:`importlib.util.find_spec` instead. 268 .. method:: find_spec(fullname, path, target=None) 288 If :meth:`find_spec` is defined, backwards-compatible functionality is 293 :exc:`NotImplementedError`. Can use :meth:`find_spec` to provide 297 Use :meth:`find_spec` instead. 319 .. method:: find_spec(fullname, target=None) 342 If :meth:`find_spec` is defined then backwards-compatible functionality is 347 Uses :meth:`find_spec` when available to provide functionality. 350 Use :meth:`find_spec` instead. 358 Use :meth:`find_spec` instead. [all …]
|
/external/python/cpython3/Lib/test/test_importlib/extension/ |
D | test_loader.py | 92 self.spec = importlib.util.find_spec(self.name)
|
/external/python/cpython3/Tools/i18n/ |
D | pygettext.py | 281 spec = importlib.util.find_spec(name)
|