[issue992389] attribute error after non-from import
Torsten Bronger
report at bugs.python.org
Tue Mar 31 19:22:34 CEST 2009
Torsten Bronger <bronger at physik.rwth-aachen.de> added the comment:
Maybe it's better to leave it open, waiting for someone to pick it up,
even if this is some time in the future?
In my opinion, this is suprising behaviour without an actual rationale,
and a current implementation feature. I'd be a pitty for me to see it
becoming an official part of the language.
What bothers me most is that
from . import moduleX
doesn't work but
import package.moduleX
does work. So the circular import itself works without problems,
however, not with a handy identifier. This is would be an odd
asymmetry, I think.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue992389>
_______________________________________
More information about the Python-bugs-list
mailing list