Steven D'Aprano <[EMAIL PROTECTED]> writes:
> I read "from module import *" as explicitly saying "clobber the current
> namespace with whatever names module exports". That's what from does: it
> imports names into the current namespace. It isn't some sort of easy to
> miss side-effect. If a name already existed, it gets clobbered, just like
> any other import:

Seems to me that there should be a compiler warning when this happens.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to