Claudio Grondi wrote: > As also the fact, that when > a = [1,2.0,3L] > b = [1.0,2,3 ] > a==b # gives True > even if the objects in the lists are actually different,
they all compare equal: >>> 1 == 1.0 True >>> 2.0 == 2 True >>> 3L == 3 True > or when the objects being members of the list redefine __eq__ so, that > no matter how different they are, the lists always compare True. wow. followups to comp.lang.funny.snake.farm </F> -- http://mail.python.org/mailman/listinfo/python-list