]> granicus.if.org Git - python/commit
Issue #25155: Fix _PyTime_Divide() rounding
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 18 Sep 2015 12:21:14 +0000 (14:21 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 18 Sep 2015 12:21:14 +0000 (14:21 +0200)
commitec26f83f2ea13d7f15c461ac49d46dfcdf49b8ec
tree4e6c2a4ca830582b09e61df574c0935982ef058e
parent02d6a25beaa3922f487e984a852c2ef2127d0a7f
Issue #25155: Fix _PyTime_Divide() rounding

_PyTime_Divide() rounding was wrong: copy code from Python default which has
now much better unit tests.
Lib/test/test_time.py
Python/pytime.c