commit | b4db1944c4392cb1510f01dcd2b10da6949b83fc | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Tue Jul 21 21:56:41 1998 +0000 |
committer | Guido van Rossum <guido@python.org> | Tue Jul 21 21:56:41 1998 +0000 |
tree | fe7b9eb74151e6affa0cb6f7c897717c9b7fadb7 | |
parent | 052969a6022a06414b11ab6fe294d5af01d20a59 [diff] |
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.