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

GitHub noreply at github.com
Tue Aug 8 13:50:02 CEST 2017


  Branch: refs/heads/division
  Home:   https://github.com/zopefoundation/zope.datetime
  Commit: cbf80c4054468e891f3e2bad7947b462f59ae181
      https://github.com/zopefoundation/zope.datetime/commit/cbf80c4054468e891f3e2bad7947b462f59ae181
  Author: Jason Madden <jamadden at gmail.com>
  Date:   2017-08-08 (Tue, 08 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.




More information about the checkins mailing list