[issue12583] More detailed `ImportError` messages

Ram Rachum report at bugs.python.org
Mon Jul 18 23:52:20 CEST 2011


Ram Rachum <cool-rr at cool-rr.com> added the comment:

What's the problem with detecting circular imports? Mind you that we only need a post-mortem analysis to check why the import failed; so after the import failed, we could check whether our import stack has a loop in it.

I'm not familiar with the ImportWarning regarding `__init__.py`. Is this written about anywhere?

----------

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


More information about the Python-bugs-list mailing list