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

Fuzzyman fuzzyman at
Wed Jan 18 11:01:35 EST 2006

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 Java, comparing strings using '==' compares for identity not
equality (IIUC), giving *plenty* of room for confusion.

All the best,


More information about the Python-list mailing list