[issue1083] Confusing error message when dividing timedelta using /

Skip Montanaro report at bugs.python.org
Tue Apr 20 23:52:11 CEST 2010


Skip Montanaro <skip at pobox.com> added the comment:

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).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1083>
_______________________________________


More information about the Python-bugs-list mailing list