• Victor Stinner's avatar
    Revert change 0eb8c182131e: · 69cc487d
    Victor Stinner authored
    """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.
    69cc487d
_datetimemodule.c 178 KB