[issue2210] Nested module import clutters package namespace

Daniel Diniz report at bugs.python.org
Wed Apr 2 15:59:51 CEST 2008


Daniel Diniz <ajaksu2 at users.sourceforge.net> added the comment:

Not a bug IMHO, but a gotcha. Change x.py to "from pack import y as q"
and you get the desired result. Check
http://effbot.org/zone/import-confusion.htm

----------
nosy: +ajaksu2

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2210>
__________________________________


More information about the Python-bugs-list mailing list