On Wed, Jun 26, 2013 at 9:34 AM, Dave Brondsema <[email protected]> wrote:

>
> On
>
> https://sourceforge.net/u/vansteenburgh/allura-plugin-development/2013/06/part-1-getting-started/#creating-the-plugin-application
> line 15, isn't that the old-style way to call a parent.  Would using
> super() be
> better?
>

https://fuhm.net/super-harmful/ vs
http://rhettinger.wordpress.com/2011/05/26/super-considered-super/

Super is good, but its existence means that, *especially* for __init__, if
there's ever any possibility of your class being subclassed (even if you
don't think it will; so, always), you should always use super, and always
accept and pass *args and **kwargs.

Reply via email to