]> granicus.if.org Git - python/commit
Issue #23517: Fix implementation of the ROUND_HALF_UP rounding mode in
authorVictor Stinner <victor.stinner@gmail.com>
Fri, 4 Sep 2015 21:57:25 +0000 (23:57 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Fri, 4 Sep 2015 21:57:25 +0000 (23:57 +0200)
commitadfefa527a32e711c1bea9c1ac32c20e9cce0660
tree8e03b6d95d1f6f32780d8535aa5b60d411d0646f
parent19bbb9af678040e8963edfcfdc30e9f87b106fb9
Issue #23517: Fix implementation of the ROUND_HALF_UP rounding mode in
datetime.datetime.fromtimestamp() and datetime.datetime.utcfromtimestamp().
microseconds sign should be kept before rounding.
Lib/datetime.py
Lib/test/datetimetester.py
Lib/test/test_time.py
Python/pytime.c