Anders Waldenborg <anders <at> 0x63.nu> writes:
> 
> Is it intentional that locals() returns a copy/snapshot of the local 
> variables sometimes, and sometimes a reference? Like when enabling 
> tracing, such as in the code pasted below.

Since someone else opened a bug, I answered there. Anyone, feel free to correct
me if my answer is wrong.
http://bugs.python.org/issue7083

Regards

Antoine.


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

Reply via email to