[issue1683368] object.__init__ shouldn't allow args/kwds

Guido van Rossum report at bugs.python.org
Wed May 28 17:05:09 CEST 2014


Guido van Rossum added the comment:

If you don't know enough about the base class you shouldn't be subclassing it. In this particular case you should be overriding __init__, not __new__.

----------

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


More information about the Python-bugs-list mailing list