Home
last modified time | relevance | path

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

/third_party/python/Lib/test/test_importlib/
Dtest_api.py116 found = self.init.find_loader(name)
129 self.init.find_loader(name)
145 self.init.find_loader(name)
155 self.assertEqual((name, None), self.init.find_loader(name))
167 self.init.find_loader(name, path))
173 self.assertIsNone(self.init.find_loader('nevergoingtofindthismodule'))
Dtest_abc.py177 def find_loader(self, fullname): member in PathEntryFinder
178 return super().find_loader(fullname)
187 found = self.ins.find_loader('something')
419 found = finder.find_loader(name)
429 found = finder.find_loader('blah')
438 found = finder.find_loader('blah')
/third_party/python/Lib/test/
Dtest_pkgutil.py560 loader = pkgutil.find_loader(name)
565 self.assertIsNotNone(pkgutil.find_loader("sys"))
566 self.assertIsNotNone(pkgutil.find_loader("os"))
567 self.assertIsNotNone(pkgutil.find_loader("test.support"))
/third_party/python/Lib/
Dpkgutil.py481 return find_loader(fullname)
484 def find_loader(fullname): function
571 _, portions = finder.find_loader(final_name)
Dzipimport.py110 def find_loader(self, fullname, path=None): member in zipimporter
161 return self.find_loader(fullname, path)[0]
/third_party/python/Lib/importlib/
D__init__.py73 def find_loader(name, path=None): function
Dabc.py108 def find_loader(self, fullname): member in PathEntryFinder
D_bootstrap_external.py578 loader, portions = self.find_loader(fullname)
1377 loader, portions = finder.find_loader(fullname)
1507 def find_loader(self, fullname): member in FileFinder
/third_party/python/Doc/library/
Dzipimport.rst92 .. method:: find_loader(fullname, path=None)
94 An implementation of :meth:`importlib.abc.PathEntryFinder.find_loader`.
Dpkgutil.rst78 .. function:: find_loader(fullname)
Dimportlib.rst116 .. function:: find_loader(name, path=None)
342 .. method:: find_loader(fullname)
367 equivalent to ``self.find_loader(fullname)[0]``.
1242 .. method:: find_loader(fullname)
Dimp.rst87 :func:`importlib.find_loader`. For example usage of the former case,
/third_party/python/Lib/test/test_importlib/source/
Dtest_finder.py211 loader_portions = finder.find_loader(name)
/third_party/python/Lib/test/test_importlib/import_/
Dtest_path.py143 def find_loader(self, fullname): member in FinderTests.test_finder_with_find_loader.TestFinder
/third_party/python/Doc/reference/
Dimport.rst879 :meth:`~importlib.abc.PathEntryFinder.find_loader` and
888 :meth:`~importlib.abc.PathEntryFinder.find_loader` takes one argument, the
889 fully qualified name of the module being imported. ``find_loader()``
902 namespace packages. If both ``find_loader()`` and ``find_module()``
904 ``find_loader()`` in preference to ``find_module()``.
908 :meth:`~importlib.abc.PathEntryFinder.find_loader` by the import
1051 Python 3.3. :pep:`420` also introduced the :meth:`find_loader` protocol as an
/third_party/python/Doc/whatsnew/
D3.10.rst1595 :meth:`~importlib.abc.PathEntryFinder.find_loader`/:meth:`~importlib.abc.Finder.find_module`
1641 * The use of :meth:`importlib.abc.PathEntryFinder.find_loader` by the import
1656 :meth:`importlib.abc.PathEntryFinder.find_loader` (
1657 :meth:`importlib.machinery.FileFinder.find_loader` )
1669 * The deprecations of :mod:`imp`, :func:`importlib.find_loader`,
D3.7.rst2011 :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
/third_party/python/Misc/NEWS.d/
D3.10.0a7.rst55 Raise ImportWarning when calling find_loader().
D3.10.1.rst732 Fix typo: ``importlib.find_loader`` is really slated for removal in Python
D3.10.0a3.rst628 This also allows for the documented deprecation of find_loader(),
D3.10.0b1.rst1051 Deprecate find_module() and find_loader() implementations in importlib and
/third_party/python/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