Home
last modified time | relevance | path

Searched refs:walk_packages (Results 1 – 18 of 18) sorted by relevance

/external/grpc-grpc/src/python/grpcio_tests/tests/
D_loader.py60 self.walk_packages(package_paths)
65 def walk_packages(self, package_paths): member in Loader
73 pkgutil.walk_packages(package_paths)):
/external/python/cpython2/Lib/test/
Dtest_pydoc.py290 def _restricted_walk_packages(self, walk_packages, path=None): argument
297 return walk_packages(path or default_path, prefix, onerror)
302 walk_packages = pkgutil.walk_packages
303 pkgutil.walk_packages = self._restricted_walk_packages(walk_packages,
308 pkgutil.walk_packages = walk_packages
Dtest_pkgutil.py89 for t in pkgutil.walk_packages(path=[self.dirname]):
/external/python/cpython3/Lib/test/
Dtest_pydoc.py391 def _restricted_walk_packages(self, walk_packages, path=None): argument
398 return walk_packages(path or default_path, prefix, onerror)
403 walk_packages = pkgutil.walk_packages
404 pkgutil.walk_packages = self._restricted_walk_packages(walk_packages,
409 pkgutil.walk_packages = walk_packages
Dtest_pkgutil.py101 for t in pkgutil.walk_packages(path=[self.dirname]):
136 actual= [e[1] for e in pkgutil.walk_packages([self.dirname])]
170 actual= [e[1] for e in pkgutil.walk_packages([zip_file])]
183 list(pkgutil.walk_packages(str_input))
187 list(pkgutil.walk_packages(bytes_input))
Dtest_runpy.py580 for moduleinfo in pkgutil.walk_packages([pkg_dir]):
/external/python/cpython2/Doc/library/
Dpkgutil.rst144 .. function:: walk_packages(path=None, prefix='', onerror=None)
166 walk_packages()
169 walk_packages(ctypes.__path__, ctypes.__name__ + '.')
/external/python/cpython3/Doc/library/
Dpkgutil.rst166 .. function:: walk_packages(path=None, prefix='', onerror=None)
188 walk_packages()
191 walk_packages(ctypes.__path__, ctypes.__name__ + '.')
/external/python/cpython2/Lib/
Dpkgutil.py68 def walk_packages(path=None, prefix='', onerror=None): function
122 for item in walk_packages(path, name+'.', onerror):
Dpydoc.py1598 for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
2012 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
/external/python/cpython3/Lib/
Dpkgutil.py53 def walk_packages(path=None, prefix='', onerror=None): function
107 yield from walk_packages(path, info.name+'.', onerror)
Dpydoc.py1692 for importer, modname, ispkg in pkgutil.walk_packages([dir], pkgpath):
2121 for importer, modname, ispkg in pkgutil.walk_packages(onerror=onerror):
/external/python/cpython3/Doc/whatsnew/
D3.6.rst2295 * The :func:`pkgutil.iter_modules` and :func:`pkgutil.walk_packages`
D3.3.rst2402 :func:`pkgutil.iter_importers` and :func:`pkgutil.walk_packages` functions
D3.7.rst2272 * :meth:`pkgutil.walk_packages` now raises a :exc:`ValueError` if *path* is
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a1.rst2365 pkgutil.walk_packages function now raises ValueError if *path* is a string.
/external/python/cpython2/Misc/
DHISTORY272 - Patch #1525766: In pkgutil.walk_packages, correctly pass the onerror callback
950 as ``walk_packages()`` to support working with packages that are either
/external/python/cpython3/Misc/
DHISTORY17656 - Patch #1525766: In pkgutil.walk_packages, correctly pass the onerror callback
18334 as ``walk_packages()`` to support working with packages that are either