[issue20490] Show clear error message on circular import

Brett Cannon report at bugs.python.org
Mon Feb 3 19:32:19 CET 2014


Brett Cannon added the comment:

It's not as simple as it sounds because failures from "from ... import ..." are triggered in the eval loop and not in import and without thinking it through I don't know if you could use the fine-grained import locks to inspect if something is in the middle of being imported or not that way.

----------

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


More information about the Python-bugs-list mailing list