4 May
2016
4 May
'16
9:02 p.m.
I honestly don't recall and I assume the docs are vague, but "comparing
expressions" was not a thing in ABC. I'm sure they compared the values.
(This is why I showed it with variables instead of constants.)
On Wed, May 4, 2016 at 8:29 AM, Michael Selik
On Wed, May 4, 2016 at 11:19 AM Guido van Rossum
wrote: - In ABC, this was considered, and the rule was that {k1: v1; k2: v2} was allowed to have k1==k2 as long as v1==v2. Otherwise it was an error. (But ABC did not have comprehensions.)
Was that enforced by comparing the expressions or the resulting values?
-- --Guido van Rossum (python.org/~guido)