summaryrefslogtreecommitdiffstats
path: root/Objects/tupleobject.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-21 21:56:41 (GMT)
committerGuido van Rossum <guido@python.org>1998-07-21 21:56:41 (GMT)
commitb4db1944c4392cb1510f01dcd2b10da6949b83fc (patch)
treefe7b9eb74151e6affa0cb6f7c897717c9b7fadb7 /Objects/tupleobject.c
parent052969a6022a06414b11ab6fe294d5af01d20a59 (diff)
downloadcpython-b4db1944c4392cb1510f01dcd2b10da6949b83fc.zip
cpython-b4db1944c4392cb1510f01dcd2b10da6949b83fc.tar.gz
cpython-b4db1944c4392cb1510f01dcd2b10da6949b83fc.tar.bz2
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.
Diffstat (limited to 'Objects/tupleobject.c')
0 files changed, 0 insertions, 0 deletions