Paul Rubin wrote: > Python already has a bunch of eq but not equal numeric types: > > 1 == 1L 1 is not 1L > 1 == 1.0 1 is not 1.0 > 1 == 1+0j 1 is not 1+0j In addition, Python has always had (1==1) == 1 (1==1) is not 1 --Guido van Rossum (home page: http://www.python.org/~guido/)