/external/python/cpython3/Lib/test/test_importlib/ |
D | test_api.py | 114 found = self.init.find_loader(name) 127 self.init.find_loader(name) 143 self.init.find_loader(name) 152 self.assertEqual((name, None), self.init.find_loader(name)) 163 self.init.find_loader(name, path)) 169 self.assertIsNone(self.init.find_loader('nevergoingtofindthismodule'))
|
D | test_abc.py | 176 def find_loader(self, fullname): member in PathEntryFinder 177 return super().find_loader(fullname) 186 found = self.ins.find_loader('something') 401 found = finder.find_loader(name) 411 found = finder.find_loader('blah') 420 found = finder.find_loader('blah')
|
/external/python/cpython3/Lib/test/ |
D | test_pkgutil.py | 467 loader = pkgutil.find_loader(name) 472 self.assertIsNotNone(pkgutil.find_loader("sys")) 473 self.assertIsNotNone(pkgutil.find_loader("os")) 474 self.assertIsNotNone(pkgutil.find_loader("test.support"))
|
D | test_zipimport.py | 691 self.assertRaises(ValueError, zi.find_loader, 'foo')
|
/external/python/cpython3/Lib/ |
D | pkgutil.py | 479 return find_loader(fullname) 482 def find_loader(fullname): function 569 _, portions = finder.find_loader(final_name)
|
/external/python/cpython3/Lib/importlib/ |
D | __init__.py | 74 def find_loader(name, path=None): function
|
D | abc.py | 94 def find_loader(self, fullname): member in PathEntryFinder
|
D | _bootstrap_external.py | 431 loader, portions = self.find_loader(fullname) 1230 loader, portions = finder.find_loader(fullname) 1339 def find_loader(self, fullname): member in FileFinder
|
/external/python/cpython2/Lib/ |
D | pkgutil.py | 462 return find_loader(fullname) 464 def find_loader(fullname): function
|
/external/python/cpython3/Lib/test/test_importlib/source/ |
D | test_finder.py | 211 loader_portions = finder.find_loader(name)
|
/external/python/cpython3/Modules/ |
D | zipimport.c | 372 find_loader(ZipImporter *self, PyObject *fullname, PyObject **namespace_portion) in find_loader() function 441 switch (find_loader(self, fullname, &namespace_portion)) { in zipimport_zipimporter_find_module_impl() 488 switch (find_loader(self, fullname, &namespace_portion)) { in zipimport_zipimporter_find_loader_impl()
|
/external/python/cpython3/Lib/test/test_importlib/import_/ |
D | test_path.py | 138 def find_loader(self, fullname): member in FinderTests.test_finder_with_find_loader.TestFinder
|
/external/python/cpython3/Doc/reference/ |
D | import.rst | 865 :meth:`~importlib.abc.PathEntryFinder.find_loader` and 874 :meth:`~importlib.abc.PathEntryFinder.find_loader` takes one argument, the 875 fully qualified name of the module being imported. ``find_loader()`` 886 If ``find_loader()`` returns a non-``None`` loader value, the portion is 899 namespace packages. If both ``find_loader()`` and ``find_module()`` 901 ``find_loader()`` in preference to ``find_module()``. 1001 Python 3.3. :pep:`420` also introduced the :meth:`find_loader` protocol as an
|
/external/python/cpython2/Doc/library/ |
D | pkgutil.rst | 67 .. function:: find_loader(fullname)
|
/external/python/cpython3/Doc/library/ |
D | pkgutil.rst | 78 .. function:: find_loader(fullname)
|
D | importlib.rst | 116 .. function:: find_loader(name, path=None) 330 .. method:: find_loader(fullname) 355 equivalent to ``self.find_loader(fullname)[0]``. 1131 .. method:: find_loader(fullname)
|
D | imp.rst | 88 :func:`importlib.find_loader`. For example usage of the former case,
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.7.rst | 2003 :meth:`PathEntryFinder.find_loader() <importlib.abc.PathEntryFinder.find_loader>`
|
D | 3.4.rst | 2080 methods and functions are deprecated: :meth:`importlib.find_loader` is 2086 :meth:`importlib.abc.PathEntryFinder.find_loader` and
|
D | 3.3.rst | 2395 You will probably want to check for `find_loader()` first, though, in the
|
/external/python/cpython3/Misc/ |
D | HISTORY | 1661 - Issue #14710: pkgutil.find_loader() no longer raises an exception when a 2229 when pkgutil.find_loader() is called directly). 2703 PathEntryFinder.find_loader(), and Loader.load_module() use PEP 451 APIs to 5249 - Issue #17099: Have importlib.find_loader() raise ValueError when __loader__ 6376 - Issue #16489: Make it clearer that importlib.find_loader() needs parent 7624 - Issue #13959: Introduce importlib.find_loader() and document
|