[issue7989] Add pure Python implementation of datetime module to CPython

Tim Peters report at bugs.python.org
Fri Jul 2 23:58:00 CEST 2010


Tim Peters <tim.peters at gmail.com> added the comment:

> I thought x was coming from integer
> arithmetics, but apparently datetime.py loves floats!

The arguments to __new__ can be floats, so it's necessary to deal with floats there.

----------

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


More information about the Python-bugs-list mailing list