On 4/16/06, Greg Ewing <[EMAIL PROTECTED]> wrote:
> Ian Bicking wrote:
>
> > Class.some_method(self, blah) seems like a corner case.  How often do
> > you do that?
>
> Very frequently, when calling inherited __init__ methods.
>
> > If it is calling a superclass method, then super(Class,
> > self).some_method() should be used
>
> That's a matter of opinion. In the case of __init__
> methods, most of the time it simply doesn't work,
> because different __init__ methods rarely have the
> same signature.

How does that prevent you from using super()? (Hint: it doesn't. :-)

(Not that I disagree strongly with your sentiment against super.)

--
--Guido van Rossum (home page: http://www.python.org/~guido/)
_______________________________________________
Python-3000 mailing list
Python-3000@python.org
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to