[Python-Dev] Deprecating locals() (was Re: nested scopes and global: some corner cases)

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 29 May 2001 14:33:58 +1200 (NZST)


Samuele Pedroni writes:
> I imagine a (new) function that produce a snap-shot of the values in the
> local,free and cell vars of a scope can do the job required for simple 
> debugging

I think there should be methods operating directly
on stack frames for debuggers to use.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+