Lines Matching defs:Module
2 # This module should be kept compatible with Python 2.2, see PEP 291.
51 class Module:
58 # The set of global names that are assigned to in the module.
62 # The set of starimports this module did that could not be
63 # resolved, ie. a starimport from a non-Python module.
67 s = "Module(%r" % (self.__name__,)
193 self.msgout(4, "raise ImportError: No module named", qname)
194 raise ImportError, "No module named " + qname
206 self.msgout(4, "raise ImportError: No module named", mname)
207 raise ImportError, "No module named " + mname
223 raise ImportError, "No module named " + subname
416 # We've encountered an "import *". If it is a Python module,
422 # submodule of 'm' or a global module. Let's just try
469 self.modules[fqname] = m = Module(fqname)
540 tell which names are imported when "from module import *" is done
541 with an extension module, short of actually importing it.
557 # The package tried to import this module itself and
565 # from a non-Python module, so we simply can't be sure.
649 # Create the module finder and turn its crank