]> granicus.if.org Git - python/commit
In try_3way_to_rich_compare(), swap the call to default_3way_compare()
authorGuido van Rossum <guido@python.org>
Thu, 22 Feb 2001 22:18:04 +0000 (22:18 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 22 Feb 2001 22:18:04 +0000 (22:18 +0000)
commit2da0ea82ba0c817013fca1442d14ee3596f03bcb
treec9a2d6e68429e24640791c9d68d0717bd0f49607
parent230d17d0d127bc1bc5a29cd635d1d5bdfba76434
In try_3way_to_rich_compare(), swap the call to default_3way_compare()
and the test for errors, so that an error in the default compare
doesn't go undetected.  This fixes SF Bug #132933 (submitted by
effbot) -- list.sort doesn't detect comparision errors.
Objects/object.c