[issue1673409] datetime module missing some important methods

Amaury Forgeot d'Arc report at bugs.python.org
Fri Nov 14 13:17:19 CET 2008


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

> timedelta / timedelta -> seconds? days? nanoseconds?

The quotient of two timedelta is a dimensionless number with no unit:
    timedelta(hours=1) / timedelta(minutes=5) == 12.0
This seems well defined, where is the ambiguity?

----------
nosy: +amaury.forgeotdarc

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


More information about the Python-bugs-list mailing list