◐ Shell
clean mode source ↗

Message 103778 - Python tracker

Mark> I think it's fine to do the division and round the result to the
    Mark> nearest whole number of microseconds.

Right.  Just think of a timedelta as a floating point number of seconds with
very limited precision (1e-6 seconds).