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

GitHub noreply at github.com
Wed Aug 9 13:00:20 CEST 2017


  Branch: refs/heads/division
  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.




More information about the checkins mailing list