Message194246
On 03.08.2013 00:47, Alexander Belopolsky wrote:
>
> Alexander Belopolsky added the comment:
>
>> Does a result of one and one half seconds make sense as the result of a floor division operation?
>
> Yes. Timedeltas behave as integers containing the number of microseconds:
>
>>>> timedelta(microseconds=1) / 2
> datetime.timedelta(0)
I think that's a very obscure interpretation of floor division for
timedeltas :-)
IMO, floor division result should work on seconds, not microseconds. |
|
Date |
User |
Action |
Args |
2013-08-03 10:48:08 | lemburg | set | recipients:
+ lemburg, exarkun, belopolsky, pitrou, madison.may |
2013-08-03 10:48:08 | lemburg | link | issue18629 messages |
2013-08-03 10:48:08 | lemburg | create | |
|