OK, I understand now. `from foo import var` means "create a module-global name `var` inside the current module, and have it point at the object `foo.var` is pointing at (following its evaluation)".
Naturally, regardless of whether `foo.var` ever changes, the global `var` of the current module still points at the original object `foo.var` was pointing to at the time of the `var = foo.var` assignment. Thanks, D. -- http://mail.python.org/mailman/listinfo/python-list