Lines Matching refs:fqname
271 def import_module(self, partname, fqname, parent): argument
272 self.msgin(3, "import_module", partname, fqname, parent)
274 m = self.modules[fqname]
280 if fqname in self.badmodules:
293 m = self.load_module(fqname, fp, pathname, stuff)
301 def load_module(self, fqname, fp, pathname, file_info): argument
303 self.msgin(2, "load_module", fqname, fp and "fp", pathname)
305 m = self.load_package(fqname, pathname)
318 m = self.add_module(fqname)
455 def load_package(self, fqname, pathname): argument
456 self.msgin(2, "load_package", fqname, pathname)
457 newname = replacePackageMap.get(fqname)
459 fqname = newname
460 m = self.add_module(fqname)
465 m.__path__ = m.__path__ + packagePathMap.get(fqname, [])
468 self.load_module(fqname, fp, buf, stuff)
474 def add_module(self, fqname): argument
475 if fqname in self.modules:
476 return self.modules[fqname]
477 self.modules[fqname] = m = Module(fqname)