[issue992389] attribute error after non-from import

Guido van Rossum report at bugs.python.org
Tue Mar 31 17:35:27 CEST 2009


Guido van Rossum <guido at python.org> added the comment:

Sorry, never mind about the importlib bug, that was my mistake.
importlib actually behaves exactly the same way as the built-in import.

I conclude that this is probably the best semantics of import that we
can hope for in this corner case.

I propose to close this as "works as intended" -- and perhaps document
it somewhere.

----------

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


More information about the Python-bugs-list mailing list