Thanks I thought that was also true for globals() but I now see that it is not.
"Steven Bethard" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Joe wrote: >> Thanks, I knew about that but my question is why is it not working >> consistently? > > At the module level, locals() is globals(): > > py> locals() is globals() > True > > And the globals() dict is modifiable. > > HTH, > > STeVe -- http://mail.python.org/mailman/listinfo/python-list