[issue1673409] datetime module missing some important methods

Alexander Belopolsky report at bugs.python.org
Wed Apr 21 20:18:04 CEST 2010


Alexander Belopolsky <alexander.belopolsky at gmail.com> added the comment:

On Wed, Apr 21, 2010 at 2:03 PM, Mark Dickinson <report at bugs.python.org> wrote:
..
> (BTW, as well as the newly introduced division methods, td.tosecs already exists, except that it's spelt td.total_seconds.)

Aggrrr!  How did that slip in? :-)

86399999913600.0

Shouldn't td.total_seconds() return Decimal?  Maybe in py4k ...

----------

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


More information about the Python-bugs-list mailing list