[Python-3000] auto-super()

Ian Bicking ianb at colorstudy.com
Tue Apr 18 02:37:46 CEST 2006


Greg Ewing wrote:
> 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.

Whatever resolves __private variables could be used to the same effect 
to bind super, couldn't it? Still a language-level change, but not one 
without precedence.
-- 
Ian Bicking / ianb at colorstudy.com / http://blog.ianbicking.org


More information about the Python-3000 mailing list

AltStyle によって変換されたページ (->オリジナル) /