Cooperative methods, was Re: Calling __init__ with multiple inheritance

phil_nospam_schmidt at yahoo.com phil_nospam_schmidt at yahoo.com
Mon Mar 28 18:07:18 CEST 2005


Peter Otten wrote:

<snip>
> The problem with that aren't incompatible signatures, but the lack of
an
> implementation of the reset() method at the top of the diamond-shaped
> inheritance graph that does _not_ call the superclass method. That
method
> could be basically a noop:

<snip>

Ok, now that's cool! Up until now I've been getting along just fine
without new-style classes, but that is about to change. Thanks for the
tip!

Phil




More information about the Python-list mailing list