summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-05-31 17:33:47 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-05-31 17:33:47 (GMT)
commit1790bc43bf8430b219116f4af0423c3a732c9eb8 (patch)
tree57771b07db60bebd3fb1d038fb7c5c541f3dcb6e /Misc
parent9103597ee7e318f5c7183a1b1c97e5322f1f77aa (diff)
downloadcpython-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/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 2ab9640..a65de66 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.