Inheritance problem?

Pierre Barbier de Reuille pierre_dot_barbier at
Fri Jan 6 11:42:19 EST 2006

Xavier Morel a écrit :
> Pierre Barbier de Reuille wrote:
>> Well, I would even add : don't use super !
>> Just call the superclass method :
>> MyClass.__init__(self)
>> Simon Percivall a écrit :
>>> Don't use self.__class__, use the name of the class.
> Bad idea if you're using new-style classes with a complex inheritance
> hierarchy and multiple inheritance.

As a reference :

I may say this is the only place I ever saw what "super" *really* is
for. The behavior is far too complex and misthought. All I can say is :
don't use it ! It solves *nothing* and creates too many bugs in the long

More information about the Python-list mailing list