Home
last modified time | relevance | path

Searched refs:find_loader (Results 1 – 22 of 22) sorted by relevance

/external/python/cpython3/Lib/test/test_importlib/
Dtest_api.py114 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'))
Dtest_abc.py176 def find_loader(self, fullname): member in PathEntryFinder
177 return super().find_loader(fullname)
186 found = self.ins.find_loader('something')
414 found = finder.find_loader(name)
424 found = finder.find_loader('blah')
433 found = finder.find_loader('blah')
/external/curl/tests/data/
Dtest145132 python -c "__import__('pkgutil').find_loader('impacket') or (__import__('sys').stdout.write('Test o…
/external/tensorflow/tensorflow/tools/api/tests/
Dmodule_test.py33 out = pkgutil.find_loader('tensorflow')
/external/python/cpython3/Lib/test/
Dtest_pkgutil.py558 loader = pkgutil.find_loader(name)
563 self.assertIsNotNone(pkgutil.find_loader("sys"))
564 self.assertIsNotNone(pkgutil.find_loader("os"))
565 self.assertIsNotNone(pkgutil.find_loader("test.support"))
/external/python/cpython3/Lib/
Dpkgutil.py480 return find_loader(fullname)
483 def find_loader(fullname): function
570 _, portions = finder.find_loader(final_name)
Dzipimport.py109 def find_loader(self, fullname, path=None): member in zipimporter
150 return self.find_loader(fullname, path)[0]
/external/python/cpython3/Lib/importlib/
D__init__.py74 def find_loader(name, path=None): function
Dabc.py95 def find_loader(self, fullname): member in PathEntryFinder
D_bootstrap_external.py493 loader, portions = self.find_loader(fullname)
1299 loader, portions = finder.find_loader(fullname)
1421 def find_loader(self, fullname): member in FileFinder
/external/python/cpython2/Lib/
Dpkgutil.py462 return find_loader(fullname)
464 def find_loader(fullname): function
/external/python/cpython3/Lib/test/test_importlib/source/
Dtest_finder.py211 loader_portions = finder.find_loader(name)
/external/python/cpython3/Lib/test/test_importlib/import_/
Dtest_path.py138 def find_loader(self, fullname): member in FinderTests.test_finder_with_find_loader.TestFinder
/external/python/cpython3/Doc/reference/
Dimport.rst865 :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()``
888 namespace packages. If both ``find_loader()`` and ``find_module()``
890 ``find_loader()`` in preference to ``find_module()``.
1030 Python 3.3. :pep:`420` also introduced the :meth:`find_loader` protocol as an
/external/python/cpython2/Doc/library/
Dpkgutil.rst67 .. function:: find_loader(fullname)
/external/python/cpython3/Doc/library/
Dpkgutil.rst78 .. function:: find_loader(fullname)
Dimportlib.rst116 .. function:: find_loader(name, path=None)
333 .. method:: find_loader(fullname)
358 equivalent to ``self.find_loader(fullname)[0]``.
1173 .. method:: find_loader(fullname)
Dimp.rst87 :func:`importlib.find_loader`. For example usage of the former case,
/external/python/cpython3/Doc/whatsnew/
D3.7.rst2010 :meth:`PathEntryFinder.find_loader() <importlib.abc.PathEntryFinder.find_loader>`
D3.4.rst2080 methods and functions are deprecated: :meth:`importlib.find_loader` is
2086 :meth:`importlib.abc.PathEntryFinder.find_loader` and
D3.3.rst2395 You will probably want to check for `find_loader()` first, though, in the
/external/python/cpython3/Misc/
DHISTORY1661 - 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