commit | dc787d2055a7b562b64ca91b8f1af6d49fa39f1c | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sun May 23 13:33:13 2010 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sun May 23 13:33:13 2010 +0000 |
tree | f6a3868e8134c25c662868f19306bfea76b0ab45 | |
parent | 03721133a68814696e3eee75b1eb09f5016ff078 [diff] |
Issue #8188: Introduce a new scheme for computing hashes of numbers (instances of int, float, complex, decimal.Decimal and fractions.Fraction) that makes it easy to maintain the invariant that hash(x) == hash(y) whenever x and y have equal value.