]> granicus.if.org Git - python/commit
Given a class without __cmp__ or __eq__, cmp() of two instances of
authorGuido van Rossum <guido@python.org>
Wed, 15 Aug 2001 21:02:20 +0000 (21:02 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 15 Aug 2001 21:02:20 +0000 (21:02 +0000)
commit28962cc0ea5ff29a7b96b995e1ee3f1bae138148
tree349c88c6bc4ba11f7f4cf19a7b8d08a72a85c02c
parentce1650f3a5afd895ef2d1d61143d72bb88127810
Given a class without __cmp__ or __eq__, cmp() of two instances of
that class should compare the id() of those instances.  Add a test
that verifies this.  This test currently fails; I believe this is
caused by object.c:2.132 (Patch #424475 by loewis).
Lib/test/test_compare.py