Lines Matching refs:fullname
176 def find_module(self, fullname, path=None): argument
178 subname = fullname.split(".")[-1]
179 if subname != fullname and self.path is None:
189 return ImpLoader(fullname, file, filename, etc)
237 def __init__(self, fullname, file, filename, etc): argument
240 self.fullname = fullname
243 def load_module(self, fullname): argument
246 mod = imp.load_module(fullname, self.file, self.filename, self.etc)
265 def _fix_name(self, fullname): argument
266 if fullname is None:
267 fullname = self.fullname
268 elif fullname != self.fullname:
270 "module %s" % (self.fullname, fullname))
271 return fullname
273 def is_package(self, fullname): argument
274 fullname = self._fix_name(fullname)
277 def get_code(self, fullname=None): argument
278 fullname = self._fix_name(fullname)
282 source = self.get_source(fullname)
294 def get_source(self, fullname=None): argument
295 fullname = self._fix_name(fullname)
317 def get_filename(self, fullname=None): argument
318 fullname = self._fix_name(fullname)
400 def iter_importers(fullname=""): argument
424 if fullname.startswith('.'):
426 if '.' in fullname:
428 pkg = '.'.join(fullname.split('.')[:-1])
438 if '.' not in fullname:
461 fullname = module.__name__
463 fullname = module_or_name
464 return find_loader(fullname)
466 def find_loader(fullname): argument
474 for importer in iter_importers(fullname):
475 loader = importer.find_module(fullname)