]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Rich comparisons fallout: PyObject_Hash() should check for both
authorGuido van Rossum <guido@python.org>
Thu, 18 Jan 2001 23:33:37 +0000 (23:33 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 18 Jan 2001 23:33:37 +0000 (23:33 +0000)
commit41c3244875dbe2a549ff1f41f8fdca66992a6994
treee170e38b09cfa329f4108adff10042c2b2218466
parenta3af41d5646c629d19b844e094afa58fdcd129f9
Rich comparisons fallout: PyObject_Hash() should check for both
tp_compare and tp_richcompare NULL before deciding to do a quickie
based on the object address.  (Tim Peters discovered this.)
Objects/object.c