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

Alexander Belopolsky report at bugs.python.org
Thu Feb 26 00:56:48 CET 2015


Alexander Belopolsky added the comment:

I've got it:

>>> import sys
>>> sys.modules['_datetime'] = None
>>> from datetime import *
>>> td = timedelta(seconds=1)
>>> print(td / (1/0.6112295))
0:00:00.611230

----------

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


More information about the Python-bugs-list mailing list