Lines Matching refs:fqname
86 def _import_hook(self, fqname, globals=None, locals=None, fromlist=None): argument
89 parts = fqname.split('.')
109 raise ImportError, 'No module named ' + fqname
147 raise ImportError, 'No module named ' + fqname
263 def _import_one(self, parent, modname, fqname): argument
268 return sys.modules[fqname]
273 result = self.get_code(parent, modname, fqname)
277 module = self._process_result(result, fqname)
284 def _process_result(self, result, fqname): argument
293 module = imp.new_module(fqname)
303 sys.modules[fqname] = module
310 if fqname in sys.modules:
311 del sys.modules[fqname]
317 module = sys.modules[fqname]
318 module.__name__ = fqname
327 fqname = "%s.%s" % (m.__name__, part)
328 m = self._import_one(m, part, fqname)
330 raise ImportError, "No module named " + fqname
370 def get_code(self, parent, modname, fqname): argument
505 def get_code(self, parent, modname, fqname): argument
536 def import_from_dir(self, dir, fqname): argument
537 result = self._import_pathname(_os_path_join(dir, fqname), fqname)
539 return self._process_result(result, fqname)
542 def get_code(self, parent, modname, fqname): argument
550 code = self._import_pathname(_os_path_join(submodule_path, modname), fqname)
554 fqname)
556 def _import_pathname(self, pathname, fqname): argument
559 fqname)
574 return importFunc(filename, finfo, fqname)
582 def py_suffix_importer(filename, finfo, fqname): argument
605 def import_file(self, filename, finfo, fqname): argument
607 module = imp.load_module(fqname, fp, filename, self.desc)