Namespace confusion
Daniel Klein
danielk at aracnet.com
Sat May 12 02:50:49 EDT 2001
On Fri, 11 May 2001 15:51:19 +0200, "Alex Martelli" <aleaxit at yahoo.com> wrote:
>> When I check globals() at the interactive prompt, my instances are indeedy
>> there. What's going on here?
>
>What's going on is that your references to instances of class K are
>not being placed in global variables of the module where K is defined,
>just like in my obj1=[K()] example above.
That makes sense, it makes a lot of sense. Thanks for the clarification!
Dan
More information about the Python-list
mailing list