> >>> cmp(x,x) # x.__cmp__() is NOT called > 0 This is odd. We'll have problems trying to implemnt a NaN following the convention of being not-equal to itself, for example. > >>> [x] == [x] # x.__cmp__() is NOT called > True This is correct, IMO. -- Gustavo Niemeyer http://niemeyer.net