MRO problems with diamond inheritance?

Michele Simionato michele.simionato at gmail.com
Mon May 2 04:59:43 EDT 2005


M.E. Farmer:

>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 ).

One month only? You must be pretty smart, one could easily extract
a book from that page ;)

>I am still trying to grasp the 'purpose' of classmethods.

In my personal opinion classmethods and staticmethods could (and
possibly
should) be removed from the language; a part for that consideration,
the typical
use for classmethods is as object factories, to provide alternative
constructors.

           Michele Simionato




More information about the Python-list mailing list