Message108551
Similar problem affects fromtimestamp() constructors:
>>> datetime.fromtimestamp(0.0078125)-datetime.fromtimestamp(0)
datetime.timedelta(0, 0, 7813)
>>> datetime.utcfromtimestamp(0.0078125)-datetime.utcfromtimestamp(0)
datetime.timedelta(0, 0, 7813)
both rounded to odd, but
>>> 0.0078125*timedelta(seconds=1)
datetime.timedelta(0, 0, 7812)
is correctly rounded to even. |
|
Date |
User |
Action |
Args |
2010-06-24 21:18:07 | belopolsky | set | recipients:
+ belopolsky, tim.peters, mcherm, rhettinger, mark.dickinson, vstinner, stutzbach |
2010-06-24 21:18:07 | belopolsky | set | messageid: <1277414287.36.0.533844127687.issue8860@psf.upfronthosting.co.za> |
2010-06-24 21:18:05 | belopolsky | link | issue8860 messages |
2010-06-24 21:18:05 | belopolsky | create | |
|