commit | 389381564cfa936c8e50bc51dc53b55cba857652 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Mon Aug 21 23:36:26 2006 +0000 |
committer | Guido van Rossum <guido@python.org> | Mon Aug 21 23:36:26 2006 +0000 |
tree | 7259a38e0d6c06e5519276336ed26a593166de1d | |
parent | 5431ee4a499e173c5638297de30a965ed2206c66 [diff] |
Change the way __hash__ is inherited; when __eq__ or __cmp__ is overridden but __hash__ is not, set __hash__ explicitly to None (and tp_hash to NULL). All unit tests pass now!