This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author veky
Recipients docs@python, gone, r.david.murray, steven.daprano, veky
Date 2017-08-26.18:57:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503773855.24.0.142757184076.issue31283@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-08-26 18:57:35vekysetrecipients: + veky, steven.daprano, r.david.murray, docs@python, gone
2017-08-26 18:57:35vekysetmessageid: <1503773855.24.0.142757184076.issue31283@psf.upfronthosting.co.za>
2017-08-26 18:57:35vekylinkissue31283 messages
2017-08-26 18:57:34vekycreate