Searched refs:get_loader (Results 1 – 8 of 8) sorted by relevance
514 self.assertIsNotNone(pkgutil.get_loader("sys"))515 self.assertIsNotNone(pkgutil.get_loader("os"))516 self.assertIsNotNone(pkgutil.get_loader("test.support"))526 self.assertIsNotNone(pkgutil.get_loader(__name__))537 loader = pkgutil.get_loader(name)546 loader = pkgutil.get_loader(name)553 loader = pkgutil.get_loader(name)
362 def get_loader(self, template): member in PrefixLoader371 loader, name = self.get_loader(template)381 loader, local_name = self.get_loader(name)
341 def get_loader(self, template): member in PrefixLoader350 loader, name = self.get_loader(template)360 loader, local_name = self.get_loader(name)
460 def get_loader(module_or_name): function
109 .. function:: get_loader(module_or_name)
4157 Return None from pkgutil.get_loader() when __spec__ is missing.
1658 - Issue #14710: pkgutil.get_loader() no longer raises an exception when None is2003 - Issue #21200: Return None from pkgutil.get_loader() when __spec__ is missing.2228 pkgutil.get_loader() API when __loader__ isn't set on a module (nor