Author belopolsky
Recipients belopolsky, exarkun, lemburg, madison.may, pitrou
Date 2013-08-02.22:43:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I believe this is related to the fact that timedelta * float is not supported in 2.x:

Python 2.7.5 (default, May 24 2013, 15:56:16)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-3)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from datetime import *
>>> timedelta(2) * 0.5
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for *: 'datetime.timedelta' and 'float'

I don't see why this is a barrier to Python 3 transitions.  Before you turn on true division you should replace all instances of floor division with '//' anyways.  Just treat instances of timedelta / int as you would instances of int / int.
Date User Action Args
2013-08-02 22:43:31belopolskysetrecipients: + belopolsky, lemburg, exarkun, pitrou, madison.may
2013-08-02 22:43:31belopolskysetmessageid: <>
2013-08-02 22:43:31belopolskylinkissue18629 messages
2013-08-02 22:43:31belopolskycreate