[Python-3000] A super() idea - no _getframe() involved

Greg Ewing greg.ewing at canterbury.ac.nz
Wed Apr 19 14:07:28 CEST 2006


Phillip J. Eby wrote:

> No, the compiler does it, it's not an execution time thing.  That is, 
> the code object is set for a certain number of "cell vars", and that's 
> what allocates the cell object when the code is executed and the frame 
> is set up.

What I mean is, however it's done, all the functions defined
in a particular class need to end up sharing the same cell.

--
Greg


More information about the Python-3000 mailing list