super() and multiple inheritance failure

Michele Simionato michele.simionato at
Sat Sep 26 08:26:02 CEST 2009

On Sep 26, 8:02 am, "Gabriel Genellina" <gagsl-... at>
> If you decide at every invocation which method to call, it's a dispatcher;  
> you may use a dictionary to map each alternative to the function to be  
> invoked. If it only depends on the type of the argument, there is a hidden  
> gem in pkgutil (simplegeneric) that can help you.

And here is an example:

(a lot of use case for multiple inheritance are better solved with

More information about the Python-list mailing list