]> granicus.if.org Git - python/commit
Issue #22117: Fix os.utime(), it now rounds the timestamp towards minus
authorVictor Stinner <victor.stinner@gmail.com>
Sun, 29 Mar 2015 23:02:57 +0000 (01:02 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sun, 29 Mar 2015 23:02:57 +0000 (01:02 +0200)
commitdca028b86ade11441554f8cdb9d2ae56c119b413
tree8d549aa0c6218499f9c61c2f3369d32386b7e9d0
parentf81f0f9c63c8ae306d550b5bb387abf30e60a668
Issue #22117: Fix os.utime(), it now rounds the timestamp towards minus
infinity (-inf) instead of rounding towards zero.

Replace _PyTime_ROUND_DOWN with _PyTime_ROUND_FLOOR.
Misc/NEWS
Modules/posixmodule.c