[Python-Dev] Classes and Metaclasses in Smalltalk
Fredrik Lundh
fredrik@effbot.org
Wed, 2 May 2001 17:47:08 +0200
Donald Beaudry wrote:
> super is a lexically scoped concept. You cant ask the instance for it
> since it's value is different depending on in which it is needed
oh, you want people to be able to inherit from classes
using super?
guess we'll have to use
sys._getframe().f_back.f_method.im_class
instead, then ;-)
(any special reason why frame objects don't contain a
pointer to the corresponding function/method object?)
Cheers /F