[issue2706] datetime: define division timedelta/timedelta

STINNER Victor report at bugs.python.org
Fri Dec 12 00:36:04 CET 2008


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

I'm finally opposed to datetime.totimedelta() => float, I 
prefer .totimedelta() => (second, microsecond) which means (int,int). 
But I like timedelta/timedelta => float, eg. to compute a progression 
percent. Anyone interested by my last patch (implement 
timedelta/timedelta and divmod(timedelta, timedelta)?

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


More information about the Python-bugs-list mailing list