When comparing objects, always check that tp_compare is not NULL
before calling it. This check was there when the objects were of the same type *before* coercion, but not if they initially differed but became the same *after* coercion.
G
Guido van Rossum committed
b4db1944c4392cb1510f01dcd2b10da6949b83fc
Parent: 052969a