Brecht Machiels added the comment:
Similar inconsistent behavior for:
class Object(object): pass
class Integer(Object, int): pass
versus
class Integer(object, int): pass
However, I'm successfully using the first version, which saves some boilerplate
code for emulating ints. Instances of Integer seem to behave exactly like ints.
Personally, I wouldn't like to loose this ability. (May I shouldn't have
created this ticket :).
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue24806>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com