[issue1673409] datetime module missing some important methods

Skip Montanaro report at bugs.python.org
Fri Nov 30 22:13:21 CET 2007


Skip Montanaro added the comment:

Chris> I keep needing to know the number of seconds that a timedelta
    Chris> represents, so I implemented the following patch.

I can sympathize, but if we accept this patch, for symmetry reasons
shouldn't we also add .todays, .tomicroseconds and maybe even .toweeks?

Skip

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1673409>
_____________________________________


More information about the Python-bugs-list mailing list