Can a simple a==b 'hang' in and endless loop?

bonono at bonono at
Wed Jan 18 17:06:29 CET 2006

Fuzzyman wrote:
> Ok... so I'm now assuming that the information about '==' provided by
> the above gentleman *and* that I understand it correctly.
> The only confusion in C (which doesn't have classes) is that two list
> (like) objects can't be tested by value - only identity.
In C, they are compared(the '==' operator) byte by byte, I don't know
if you interpret that as by value or identity.

More information about the Python-list mailing list