SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72137 0 37 Python

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.
M
Mark Dickinson committed
dc787d2055a7b562b64ca91b8f1af6d49fa39f1c
Parent: 0372113