[issue5788] datetime.timedelta is inconvenient to use...

Antoine Pitrou report at bugs.python.org
Thu Nov 26 13:17:25 CET 2009


Antoine Pitrou <pitrou at free.fr> added the comment:

> A late note: this would be redundant if the oft-requested division of 
> timedeltas were implemented:  t.total_seconds could then be spelt
> 
> t/timedelta(seconds=1)

It would be less obvious, though.

----------

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


More information about the Python-bugs-list mailing list