[Checkins] [zopefoundation/persistent] 7a461d: Make the C and Python TimeStamp round the same way...

GitHub noreply at github.com
Sat Aug 18 15:39:36 CEST 2018


  Branch: refs/heads/issue41
  Home:   https://github.com/zopefoundation/persistent
  Commit: 7a461d09bcb3f187436e373aaf0dea767e5b4e1b
      https://github.com/zopefoundation/persistent/commit/7a461d09bcb3f187436e373aaf0dea767e5b4e1b
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2018-08-18 (Sat, 18 Aug 2018)

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

  Log Message:
  -----------
  Make the C and Python TimeStamp round the same way.

Fixes #41. Starting with a test that failed.

Don't touch the C code, just make the Python version round-trip
through the bytes values like the C code does. This moves the
truncation of the seconds value to microseconds to the timeTime accessor.



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the checkins mailing list