[Edu-sig] looking for explanations... globals dynamic dict

Laura Creighton lac at openend.se
Mon Mar 28 22:29:56 CEST 2011


In a message of Mon, 28 Mar 2011 11:19:45 PDT, kirby urner writes:
>--===============0915739999==
>Content-Type: multipart/alternative; boundary=20cf303b3f9bfa4ea5049f8efcd

>What I less understand is why g isn't just a *snap shot* of what was global
>at the time globals( ) ran.

Because you didn't bind g to a copy of the global dictionary at time t.
You bound it to the global dictionary itself.

Laura


More information about the Edu-sig mailing list