At 12:06 PM 2/8/2007 +1300, Greg Ewing wrote:
>That's because the topmost frame has a module's dict
>as its locals, so in that case you are modifying them
>directly. It's only code compiled as the body of a
>function that uses an array for locals.

By "topmost", he means the frame that was interrupted by the debugger, not 
the code at the top level of a module.

_______________________________________________
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