"Super()" confusion
Marc 'BlackJack' Rintsch
bj_666 at gmx.net
Tue Feb 10 10:47:57 EST 2009
On Tue, 10 Feb 2009 02:11:10 -0800, Michele Simionato wrote:
> Unfortunately there is no good solution. If you have a single
> inheritance hierarchy and you do not use super, you make it impossible
> for users of your hierarchy to subclass it by using multiple
> inheritance in a cooperative way (this is not polite).
So I'm impolite. :-) I'm using multiple inheritance only for mixin
classes and even that quite seldom. No `super()` in my code.
Ciao,
Marc 'BlackJack' Rintsch
More information about the Python-list
mailing list