Surprising difference in behavior between "import blah" and "from blah import thing"

Chuckk Hubbard badmuthahubbard at gmail.com
Thu May 8 17:17:18 EDT 2008


:'(
I'm confused

On Fri, May 9, 2008 at 12:03 AM, offby1 <eric.hanchrow at gmail.com> wrote:
> Ah.  So from the point of view of mut.py, "thing" and "system.thing"
> are separate, unrelated variables; the former of which is initialized
> from the latter when mut says "from system import thing".   Thanks.
> --
> http://mail.python.org/mailman/listinfo/python-list
>



-- 
http://www.badmuthahubbard.com



More information about the Python-list mailing list