Extending classes __init__behavior for newbies

Ian Kelly ian.g.kelly at gmail.com
Mon Feb 14 11:29:00 EST 2011


On Sun, Feb 13, 2011 at 9:39 PM, Christian Heimes <lists at cheimes.de> wrote:
> If you have a short memory then you should definitely use one way -- the
> correct way for all cases -- to call the parent's class init method.
> Otherwise your future self is going to hate your current self for
> introducing potential buggy code.

Unfortunately, there is no "correct way for all cases".  See:

http://fuhm.net/super-harmful/



More information about the Python-list mailing list