commit | 69cc487df42d9064a74551ae26a8c115dade3e3a | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Tue Sep 08 23:58:54 2015 +0200 |
committer | Victor Stinner <victor.stinner@gmail.com> | Tue Sep 08 23:58:54 2015 +0200 |
tree | dc5407073d3fdeeae4049a2540852604f60ec986 | |
parent | 1638bdfa1a6f0183eef47dd43b1f0ab0f6b9f78d [diff] |
Revert change 0eb8c182131e: """Issue #23517: datetime.timedelta constructor now rounds microseconds to nearest with ties going away from zero (ROUND_HALF_UP), as Python 2 and Python older than 3.3, instead of rounding to nearest with ties going to nearest even integer (ROUND_HALF_EVEN).""" datetime.timedelta uses rounding mode ROUND_HALF_EVEN again.