]> granicus.if.org Git - python/commit
(arre, arigo) SF bug #1350060
authorArmin Rigo <arigo@tunes.org>
Thu, 8 Jun 2006 10:56:24 +0000 (10:56 +0000)
committerArmin Rigo <arigo@tunes.org>
Thu, 8 Jun 2006 10:56:24 +0000 (10:56 +0000)
commitfd01d7933bc3e9fd64d81961fbb7eabddcc82bc3
tree04841c9342f5a07bd7436f8520aa2d54f0e54580
parent996710fd44426f43d54034ebf3ee2355fca18f6a
(arre, arigo)  SF bug #1350060

Give a consistent behavior for comparison and hashing of method objects
(both user- and built-in methods).  Now compares the 'self' recursively.
The hash was already asking for the hash of 'self'.
Lib/test/test_class.py
Lib/test/test_descr.py
Objects/classobject.c
Objects/descrobject.c