Searched refs:get_loader (Results 1 – 10 of 10) sorted by relevance
421 self.assertIsNotNone(pkgutil.get_loader("sys"))422 self.assertIsNotNone(pkgutil.get_loader("os"))423 self.assertIsNotNone(pkgutil.get_loader("test.support"))433 self.assertIsNotNone(pkgutil.get_loader(__name__))444 loader = pkgutil.get_loader(name)453 loader = pkgutil.get_loader(name)460 loader = pkgutil.get_loader(name)
16 from imp import get_loader18 from pkgutil import get_loader102 loader = get_loader(mod_name)
439 def get_loader(module_or_name): function576 loader = get_loader(package)
350 def get_loader(self): member in BasicModuleImporter
341 def get_loader(self, template): member in PrefixLoader350 loader, name = self.get_loader(template)360 loader, local_name = self.get_loader(name)
458 def get_loader(module_or_name): function
93 .. function:: get_loader(module_or_name)
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