Chris Angelico wrote:
Except that it does. After calling locals() a second time, the result
of the *first* call will be updated to reflect changes.

Yeow. That's *really* unintuitive. There had better be an extremely
good reason for this behaviour.

--
Greg
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to