[Python-Dev] Changing a value in a frame (for a debugger)

Phillip J. Eby pje at telecommunity.com
Thu Feb 8 00:32:09 CET 2007


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.



More information about the Python-Dev mailing list