[issue24806] Inheriting from NoneType does not fail consistently

Armin Rigo report at bugs.python.org
Thu Aug 6 13:28:58 CEST 2015


Armin Rigo added the comment:

@brechtm No, the example you give is wrong.  It is correct that this refuses to work (and unrelated to this bug):

    class Integer(object, int): pass

for reasons explained in the docs.

----------

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


More information about the Python-bugs-list mailing list