Message194271
What is so special about seconds? Why not days? As in
>>> timedelta(3) // 2
timedelta(1)
Note that in 3.x we have timedelta over timedelta division that lets you do floor division in arbitrary time units.
What is the use case for timedelta // int that rounds down to a second? I suspect in most cases you really want timedelta // timedelta(seconds=int) instead. |
|
Date |
User |
Action |
Args |
2013-08-03 16:32:10 | belopolsky | set | recipients:
+ belopolsky, lemburg, exarkun, mark.dickinson, pitrou, madison.may |
2013-08-03 16:32:10 | belopolsky | set | messageid: <1375547530.36.0.773109260979.issue18629@psf.upfronthosting.co.za> |
2013-08-03 16:32:10 | belopolsky | link | issue18629 messages |
2013-08-03 16:32:10 | belopolsky | create | |
|