Files
cpython/Objects
Mark Dickinson 10fe877dcd Issue #789290: make sure that hash(2**63) == hash(2.**63) on 64-bit
platforms.  The previous code was fragile, depending on the twin
accidents that:

  (1) in C, casting the double value 2.**63 to long returns the integer
      value -2**63, and
  (2) in Python, hash(-2**63) == hash(2**63).

There's already a test for this in test_hash.
2009-02-08 14:42:28 +00:00
..
2009-01-20 18:58:27 +00:00
2008-07-24 07:04:55 +00:00
2006-08-01 16:24:30 +00:00
2009-01-26 21:40:08 +00:00
2008-08-24 05:04:52 +00:00
2009-01-31 22:33:02 +00:00