namespaces getting confusing
ignacio at openservices.net
Tue Sep 4 17:07:19 CEST 2001
On Tue, 4 Sep 2001, Mark Robinson wrote:
> Nope that won't work, because a global is only mapped to the module it
> is declared in....this is ugh.
> I guess maybe I should go back to sticking it in a class, which I passed
> to anything that needed access to it (most things). That seemed
> inefficient to me, but it worked so unless anyone can offer a better
> modus operandi I'll do that. I can't help but think that this is a
> common situation and there is a better way to do it.
Why don't you change to files so that the definition happens before the
Ignacio Vazquez-Abrams <ignacio at openservices.net>
More information about the Python-list