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 / [EMAIL PROTECTED] / http://blog.ianbicking.org _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com