summaryrefslogtreecommitdiff
path: root/Python/graminit.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-21 21:56:41 +0000
committerGuido van Rossum <guido@python.org>1998-07-21 21:56:41 +0000
commitb4db1944c4392cb1510f01dcd2b10da6949b83fc (patch)
treefe7b9eb74151e6affa0cb6f7c897717c9b7fadb7 /Python/graminit.c
parent052969a6022a06414b11ab6fe294d5af01d20a59 (diff)
downloadcpython-git-b4db1944c4392cb1510f01dcd2b10da6949b83fc.tar.gz
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 'Python/graminit.c')
0 files changed, 0 insertions, 0 deletions