[Python-3000] auto-super()

Greg Ewing greg.ewing at canterbury.ac.nz
Tue Apr 18 02:03:46 CEST 2006


Aahz wrote:

> Remember that in its current form super() is a regular function; it
> cannot be implied without stack hackery.

I'm not sure it's all that easy even with stack hackery.
Remember that you want the class that the def statement
of the method was written inside, not the class of
self.

--
Greg


More information about the Python-3000 mailing list