[issue12583] More detailed ImportError messages

R. David Murray report at bugs.python.org
Wed Jul 20 04:02:46 CEST 2011


R. David Murray <rdmurray at bitdance.com> added the comment:

Yes, there are ways other than an import statement that a module can get imported (the __import__ function, for example, and the imp module for another, as well as importlib).

If you want to try your hand at writing a patch to do the post mortem you will discover that import in Python is...complicated.

----------
nosy: +r.david.murray

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


More information about the Python-bugs-list mailing list