Message249836
> I did not quite understand why you've chosen ROUND_HALF_UP over ROUND_HALF_EVEN, but as long as fromtimestamp() uses the same rounding as timedelta() - I am happy.
Not only Tim prefers this rounding mode, Python 2.7 also uses the same mode, and the original poster basically said that Python 3 doesn't behave like Python 2. So... the most obvious rounding mode is the same than Python 2, ROUND_HALF_UP. |
|
Date |
User |
Action |
Args |
2015-09-04 21:27:45 | vstinner | set | recipients:
+ vstinner, tim.peters, mark.dickinson, belopolsky, larry, r.david.murray, aconrad, BreamoreBoy, vivanov, python-dev, tbarbugli, trcarden |
2015-09-04 21:27:45 | vstinner | set | messageid: <1441402065.4.0.389174827113.issue23517@psf.upfronthosting.co.za> |
2015-09-04 21:27:45 | vstinner | link | issue23517 messages |
2015-09-04 21:27:45 | vstinner | create | |
|