Message261081
Except for the case where you're closer than half a usec from the next value, IMO rounding makes no sense when suppressing digits. I most definitely would never want 9:59:59 to be rounded to 10:00 when suppressing seconds. If you really think there are use cases for that you could add a 'round=True' flag (as long as it defaults to False). That seems better than supporting rounding on datetime objects themselves. But I think you're just speculating. |
|
Date |
User |
Action |
Args |
2016-03-01 21:48:07 | gvanrossum | set | recipients:
+ gvanrossum, lemburg, tim.peters, terry.reedy, belopolsky, vstinner, ezio.melotti, cvrebert, SilentGhost, berker.peksag, martin.panter, matrixise, jerry.elmore, acucci |
2016-03-01 21:48:07 | gvanrossum | set | messageid: <1456868887.46.0.837942668339.issue19475@psf.upfronthosting.co.za> |
2016-03-01 21:48:07 | gvanrossum | link | issue19475 messages |
2016-03-01 21:48:07 | gvanrossum | create | |
|