[Checkins] [zopefoundation/persistent] d4d596: Fix Python timestamp hash on 64-bit windows

GitHub noreply at github.com
Mon Dec 19 15:33:46 CET 2016


  Branch: refs/heads/fix-64bit-win
  Home:   https://github.com/zopefoundation/persistent
  Commit: d4d59673ca74f1c3f0ff03c8f5bdf0c188f9d3e1
      https://github.com/zopefoundation/persistent/commit/d4d59673ca74f1c3f0ff03c8f5bdf0c188f9d3e1
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2016-12-19 (Mon, 19 Dec 2016)

  Changed paths:
    M persistent/tests/test_timestamp.py
    M persistent/timestamp.py

  Log Message:
  -----------
  Fix Python timestamp hash on 64-bit windows

Fixes #51

Part of the problem was in the tests. The detection of when the hash
gets truncated was broken on win32.

Part of the problem is somewhere in the _wraparound function, I think,
because even fixing the tests to use the right values we still get
mismatches. Rather than dig into that, I just go back to using ctypes
when it's available.




More information about the checkins mailing list