commit | d544df7ddd0f4910e2eae33a596fae8cb7a5d6cb | [log] [tgz] |
---|---|---|
author | Facundo Batista <facundobatista@gmail.com> | Wed Sep 19 15:10:06 2007 +0000 |
committer | Facundo Batista <facundobatista@gmail.com> | Wed Sep 19 15:10:06 2007 +0000 |
tree | 86e805b75d66b6bd04819877e496d19f92c90879 | |
parent | 673debfd63409d5a103269f770db01be54279c80 [diff] |
Issue #1772851. Alters long.__hash__ from being *almost* completely predictable to being completely predictable. The value of hash(n) is unchanged for any n that's small enough to be representable as an int, and also unchanged for the vast majority of long integers n of reasonable size.