[docs] [issue31283] Inconsistent behaviours with explicit and implicit inheritance from object
report at bugs.python.org
Sat Aug 26 14:57:35 EDT 2017
Vedran Čačić added the comment:
I don't know whether the fix is small, since there is no fix that I see yet.
I'd just want to draw your attention to the fact that Python is extremely expressive language: almost nothing is "equivalent" to anything else, if you look hard enough.
Surely, in the docs, in various places it is written that some code is equivalent to some other code, where it's obvious that those are not completely equivalent in your sense.
E.g. "a_list += [1, 2, 3] is equivalent to a_list.extend([1, 2, 3])" (https://docs.python.org/3.5/faq/programming.html?highlight=equivalent#why-did-changing-list-y-also-change-list-x)
where it's obvious that the second one is an expression, while the first one is not. Also, the docs are full of "equivalents" to various idioms from _other programming languages_, where again it's obvious that total behavioral equivalence is not what's intended.
Python tracker <report at bugs.python.org>
More information about the docs