How do I do this? (eval() on the left hand side)
peter at engcorp.com
Wed Dec 8 16:38:30 CET 2004
Nick Coghlan wrote:
> Generally, altering the contents of the dicts returned by locals() and
> globals() is unreliable at best.
Nick, could you please comment on why you say this about globals()?
I've never heard of any possibility of "unreliability" in updating
globals() and, as far as I know, a large body of code exists which
does in fact rely on this -- much of mine included. ;-)
More information about the Python-list