[Python-Dev] Breaking calls to object.__init__/__new__
Adam Olsen
rhamph at gmail.com
Thu Mar 22 05:51:30 CET 2007
On 3/21/07, Guido van Rossum <guido at python.org> wrote:
> On 3/21/07, Adam Olsen <rhamph at gmail.com> wrote:
> > super() has always felt strange to me.
>
> When used in __init__? Or in general? If the former, that's because
> it's a unique Python wart to even be able to use super for __init__.
In general. Too many things could fail without errors, so it wasn't
obvious how to use it correctly. None of the articles I've read
helped either.
> > Now, with PEP 3102 and the strict __init__, not so much.
>
> Works for me. :-)
--
Adam Olsen, aka Rhamphoryncus
More information about the Python-Dev
mailing list