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 <rep...@bugs.python.org>
<http://bugs.python.org/issue31283>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to