Author merwok
Recipients brett.cannon, merwok, terry.reedy
Date 2010-11-18.02:40:44
SpamBayes Score 2.40465e-10
Marked as misclassified No
Message-id <1290048046.65.0.345494018645.issue8754@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the reply.

Funny thing, grep revealed a small inconsistency in this error message:

Python/pythonrun.c:415:     * XXX     Exception exceptions.ImportError: 'No module named sha'
Python/import.c:1821:                     "No module named %.200s", name);
Python/import.c:2722:                     "No module named %.200s", name);
Lib/test/test_multiprocessing.py:27:# message: "No module named _multiprocessing". _multiprocessing is not compiled
Lib/test/test_concurrent_futures.py:8:# message: "No module named _multiprocessing". _multiprocessing is not compiled
Lib/test/test_pydoc.py:194:badimport_pattern = "problem in %s - ImportError: No module named %s"
Lib/runpy.py:104:        raise ImportError("No module named %s" % mod_name)
Lib/xml/etree/ElementTree.py:1492:                    "No module named expat; use SimpleXMLTreeBuilder instead"
Lib/modulefinder.py:189:        self.msgout(4, "raise ImportError: No module named", qname)
Lib/modulefinder.py:190:        raise ImportError("No module named " + qname)
Lib/modulefinder.py:202:                self.msgout(4, "raise ImportError: No module named", mname)
Lib/modulefinder.py:203:                raise ImportError("No module named " + mname)
Lib/modulefinder.py:219:                    raise ImportError("No module named " + subname)
Lib/importlib/_bootstrap.py:811:                raise ImportError("no module named {}; "
Lib/importlib/_bootstrap.py:820:            raise ImportError("No module named {0}".format(name))
Lib/unittest/test/test_loader.py:242:            self.assertEqual(str(e), "No module named sdasfasfasdf")
Lib/unittest/test/test_loader.py:622:            self.assertEqual(str(e), "No module named sdasfasfasdf")

Fixing the Python modules is easy, but I don’t know how to change PyErr_Format (or how to write C, for that matter :)  Do you make offers like Alexandre, who has proposed to write the C part if someone provides a diff for the Python version?
History
Date User Action Args
2010-11-18 02:40:46merwoksetrecipients: + merwok, brett.cannon, terry.reedy
2010-11-18 02:40:46merwoksetmessageid: <1290048046.65.0.345494018645.issue8754@psf.upfronthosting.co.za>
2010-11-18 02:40:44merwoklinkissue8754 messages
2010-11-18 02:40:44merwokcreate