ExtensionClasses and class compatibility

Oleg Broytmann phd at phd.fep.ru
Sun May 13 03:14:41 EDT 2001


On Sat, 12 May 2001, Balazs Scheidler wrote:
> 		Base.config(self)
>
> It does work if everything is a normal Python object. If `Base' is an
> ExtensionClass it fails with an exception stating that A.config(self) must
> be called with instance as first parameter. I'm using Python 2.1 (first I

   This should be something like Base.inheritedAttribute("config")(self)

Oleg.
----
     Oleg Broytmann            http://phd.pp.ru/            phd at phd.pp.ru
           Programmers don't die, they just GOSUB without RETURN.





More information about the Python-list mailing list