[issue31283] Inconsistent behaviours with explicit and implicit inheritance from object

Vedran Čačić report at bugs.python.org
Sat Aug 26 06:30:57 EDT 2017


Vedran Čačić added the comment:

To me, it seems like obvious behavior. What exactly do you think is inconsistent here?

Of course, the default inherit-class is "what's usually known as builtins.object", and it's always the same class. You should not be able to change it just by rebinding builtins.object to something else. Just like you shouldn't be able to change the top of exception hierarchy by rebinding builtins.BaseException, for example. :-)

----------
nosy: +veky

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


More information about the Python-bugs-list mailing list