[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

Brett Cannon report at bugs.python.org
Fri Jun 28 15:26:57 EDT 2019


Brett Cannon <brett at python.org> added the comment:

I think this should be an ImportError and so that means builtins.__import__() is wrong. Anyone want to argue for the other side?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37444>
_______________________________________


More information about the Python-bugs-list mailing list