[Python-Dev] Breaking calls to object.init/new (original) (raw)
Adam Olsen rhamph at gmail.com
Thu Mar 22 05:51:30 CET 2007
- Previous message: [Python-Dev] Breaking calls to object.__init__/__new__
- Next message: [Python-Dev] Breaking calls to object.__init__/__new__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-Dev] Breaking calls to object.__init__/__new__
- Next message: [Python-Dev] Breaking calls to object.__init__/__new__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]