]> granicus.if.org Git - python/commit
Fixes #23521: Corrected pure python implementation of timedelta division.
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>
Sat, 28 Feb 2015 15:41:57 +0000 (10:41 -0500)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>
Sat, 28 Feb 2015 15:41:57 +0000 (10:41 -0500)
commit24d3deefcf2f78b12fc29ed4c9a3811d46c534bb
treeb5f0821a0f1f9bdef43fc1163b821f1a9c7ad7fb
parentcf265fd02a0daacfa026b774a6eb2d7732b544a4
Fixes #23521: Corrected pure python implementation of timedelta division.

 * Eliminated OverflowError from timedelta * float for some floats;
 * Corrected rounding in timedlta true division.
Lib/datetime.py
Lib/test/datetimetester.py
Misc/NEWS