Proposal: === and !=== operators

Torsten Bronger bronger at
Sat Jul 12 08:14:24 CEST 2014


Torsten Bronger writes:

> Alan Bawden writes:
>> [...]
>> You lost me right here.  If list equality is determined by
>> comparing lists element-by-element, and the second element of old
>> is _not_ equal to the second element of data, then why should old
>> and data be equal?
> I think Python first tests for identity, and falls back to
> equality (or the other way round).  This behaviour is questionable
> in my opinion.

See also


Torsten Bronger    Jabber ID: torsten.bronger at

More information about the Python-list mailing list