]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
SF patch #421922: Implement rich comparison for dicts.
authorTim Peters <tim.peters@gmail.com>
Tue, 8 May 2001 04:38:29 +0000 (04:38 +0000)
committerTim Peters <tim.peters@gmail.com>
Tue, 8 May 2001 04:38:29 +0000 (04:38 +0000)
commite63415ead8aeaaf072142c177a71b5a3e3327187
treea139373bd30a2a90d511e6711387c5deda1699bc
parent66a7e57c7e8aab2bf187991aa5c2aa5e21b44c2c
SF patch #421922:  Implement rich comparison for dicts.
d1 == d2 and d1 != d2 now work even if the keys and values in d1 and d2
don't support comparisons other than ==, and testing dicts for equality
is faster now (especially when inequality obtains).
Lib/test/test_richcmp.py
Misc/NEWS
Objects/dictobject.c