[issue16572] Bad multi-inheritance support in some libs like threading or multiprocessing

Richard Oudkerk report at bugs.python.org
Thu Nov 29 02:20:30 CET 2012


Richard Oudkerk added the comment:

> But I think the problem remains: do you agree that Classes should include 
> a super() call in their __init__ ?

No, I don't.

I think super() is an attractive nuisance which is difficult to use correctly in an __init__() method, except in the trivial case where you only have one (non-mixin) base class.

See https://fuhm.net/super-harmful/

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16572>
_______________________________________


More information about the Python-bugs-list mailing list