[issue40032] Remove explicit inheriting of object in class definitions

Steven D'Aprano report at bugs.python.org
Sat Mar 21 09:06:09 EDT 2020


Steven D'Aprano <steve+python at pearwood.info> added the comment:

Code churn for no good reason is not a good idea. I cannot think of any good reasons to change this:

- it doesn't add new functionality;
- it doesn't fix bugs;
- it doesn't make the code easier to maintain;
- it makes the code LESS clear instead of more clear;
- PEP 8 doesn't have an opinion on whether to explicitly or implicitly inherit from object;
- but the Zen of Python ("import this") does.

Do you have any good reasons for removing the explicit inheritance from object?

----------
nosy: +steven.daprano

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40032>
_______________________________________


More information about the Python-bugs-list mailing list