Check for identical types before comparing objects to see if they
are the same -- 0 and 0.0 compare equal but should be considered different here!
G
Guido van Rossum committed
efc0bd02e5a661ede3737ff1d051973166425514
Parent: 89d55ca