[issue23521] OverflowError from timedelta * float in datetime.py

Alexander Belopolsky report at bugs.python.org
Thu Feb 26 00:55:07 CET 2015


Alexander Belopolsky added the comment:

>>> td = timedelta(seconds=1)
>>> print(td / (1/0.6112295))
0:00:00.611229

What is wrong with this answer? It is the same as in

>>> print(td * 0.6112295)
0:00:00.611229

----------

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


More information about the Python-bugs-list mailing list