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, Fuzzyman http://www.voidspace.org.uk/python/index.shtml -- http://mail.python.org/mailman/listinfo/python-list