MRO problems with diamond inheritance?

M.E.Farmer mefjr75 at hotmail.com
Mon May 2 00:29:23 EDT 2005


I knew it was a feature but had only a few minutes to answer and was
playing it safe ;)
You would be surprised how many answers you can squeeze out of that one
URL.
That whole page is worth a month of study( for me anyway ).
I am still trying to grasp the 'purpose' of classmethods.

Michele Simionato wrote:
> > M.E.Farmer:
>
> >Your answer lies somewhere in this page ;)
> >http://www.python.org/2.2.2/de­scrintro.html
>
> Yes, when it refers to
>
> http://www.python.org/2.3/mro.html
>
> (section Bad Method Resolution Orders).
>
> In short, it is a feature, not a bug.
> 
>                     Michele Simionato




More information about the Python-list mailing list