Christian Heimes <[EMAIL PROTECTED]> added the comment: That's just too weird. A long time ago I suggested to implement __int__ and __float__ on timedelta objects: int(timedelta) -> seconds, float(timedelta) -> seconds.micros. Then your use case could be written as float(td1) / float(td2) which is far more obvious than td1 / td2. Unfortunately I wasn't a core developer back in those days.
---------- nosy: +christian.heimes priority: -> low _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4291> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com