[issue14439] RunModule(): display the traceback on failure

Nick Coghlan report at bugs.python.org
Fri Mar 30 03:34:46 CEST 2012


Nick Coghlan <ncoghlan at gmail.com> added the comment:

Never mind, I just looked at your patch and better understand what you're wanting to improve (i.e. diagnosing problems with bootstrapping runpy itself, not the errors that occur after runpy has already been found).

However, your proposed solution is questionable since it may produce spurious output when RunMainFromImporter() is executed.

Is it really so hard to do "python -c 'import runpy'" to further diagnose the problem that the bootstrapping reports?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14439>
_______________________________________


More information about the Python-bugs-list mailing list