diff options
author | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-05-31 17:33:47 (GMT) |
---|---|---|
committer | Alexander Belopolsky <alexander.belopolsky@gmail.com> | 2010-05-31 17:33:47 (GMT) |
commit | 1790bc43bf8430b219116f4af0423c3a732c9eb8 (patch) | |
tree | 57771b07db60bebd3fb1d038fb7c5c541f3dcb6e /Misc | |
parent | 9103597ee7e318f5c7183a1b1c97e5322f1f77aa (diff) | |
download | cpython-1790bc43bf8430b219116f4af0423c3a732c9eb8.zip cpython-1790bc43bf8430b219116f4af0423c3a732c9eb8.tar.gz cpython-1790bc43bf8430b219116f4af0423c3a732c9eb8.tar.bz2 |
Issue #1289118: datetime.timedelta objects can now be multiplied by float
and divided by float and int objects.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -398,6 +398,11 @@ C-API Library ------- +- Issue #1289118: datetime.timedelta objects can now be multiplied by float + and divided by float and int objects. Results are rounded to the nearest + multiple of timedelta.resolution with ties resolved using round-half-to-even + method. + - Issue #7150: Raise OverflowError if the result of adding or subtracting timedelta from date or datetime falls outside of the MINYEAR:MAXYEAR range. |