[Checkins] [zopefoundation/zope.datetime] 488cde: Use true division on Python 2 to match Python 3

GitHub noreply at github.com
Thu Aug 10 14:55:16 CEST 2017


  Branch: refs/heads/master
  Home:   https://github.com/zopefoundation/zope.datetime
  Commit: 488cde47ba5783e1aa27ea3ca0493be9c165fc2d
      https://github.com/zopefoundation/zope.datetime/commit/488cde47ba5783e1aa27ea3ca0493be9c165fc2d
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-08-09 (Wed, 09 Aug 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/datetime/__init__.py
    M src/zope/datetime/tests/test_datetime.py

  Log Message:
  -----------
  Use true division on Python 2 to match Python 3

In case certain parameters turn out to be integers instead of floating
point values. This is not expected to be user-visible, but it can
arise in artificial tests of internal functions.

Refs #4.


  Commit: 450883f66df8104163090621b84e11930eb30f9e
      https://github.com/zopefoundation/zope.datetime/commit/450883f66df8104163090621b84e11930eb30f9e
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-08-09 (Wed, 09 Aug 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/datetime/__init__.py
    M src/zope/datetime/tests/test_datetime.py

  Log Message:
  -----------
  Remove fallback heuristic

Fixes #4


  Commit: a67d9d4b30997f30372a0c76d7f2d9402a812de7
      https://github.com/zopefoundation/zope.datetime/commit/a67d9d4b30997f30372a0c76d7f2d9402a812de7
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-08-09 (Wed, 09 Aug 2017)

  Changed paths:
    M src/zope/datetime/__init__.py
    M src/zope/datetime/tests/test_datetime.py

  Log Message:
  -----------
  Unify error handling for overflow values across Python 2 and 3 in safeXtime


  Commit: b0267f11d196318e2e91c321c1173068271403e9
      https://github.com/zopefoundation/zope.datetime/commit/b0267f11d196318e2e91c321c1173068271403e9
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-08-09 (Wed, 09 Aug 2017)

  Changed paths:
    M src/zope/datetime/tests/test_datetime.py

  Log Message:
  -----------
  Extra tests for coverage on different timezones.


  Commit: fff8043085e67a5264bd3a2c0676dc9da7d21e8c
      https://github.com/zopefoundation/zope.datetime/commit/fff8043085e67a5264bd3a2c0676dc9da7d21e8c
  Author: Jason Madden <jason+github at nextthought.com>
  Date:   2017-08-10 (Thu, 10 Aug 2017)

  Changed paths:
    M CHANGES.rst
    M src/zope/datetime/__init__.py
    M src/zope/datetime/tests/test_datetime.py

  Log Message:
  -----------
  Merge pull request #7 from zopefoundation/issue4

Remove fallback heuristic for guessing timezone name in large values


Compare: https://github.com/zopefoundation/zope.datetime/compare/f988d009e5f7...fff8043085e6


More information about the checkins mailing list