Over(joy)riding

mk mrkafk at gmail.com
Wed Feb 17 16:08:28 CET 2010


Bruno Desthuilliers wrote:
> mk a écrit :
>> P.S. Method resolution order in Python makes me want to kill small 
>> kittens.
> 
> mro is only a "problem" when using MI.

Oh sure! And I have the impression that multiple inheritance is not used 
all that often. What (some) Python code I've read in open source 
projects typically uses single inheritance.

Nevertheless MI is there in Python, might be useful in some cases and 
Guido put it there for some reason, so Citizens Aspiring To Become 
Pythonistas like me work to learn it.

Regards,
mk




More information about the Python-list mailing list