[issue14262] Allow using decimals as arguments to `timedelta`

Alexander Belopolsky report at bugs.python.org
Wed Sep 19 21:34:11 CEST 2012


Alexander Belopolsky added the comment:

On Wed, Sep 19, 2012 at 3:24 PM, Ram Rachum <report at bugs.python.org> wrote:
> I hope this was intended as a joke. If this was an actual criticism, let me know so
> I could explain why it makes sense.

It was both.  Yes, any use cases will be helpful.  Timedelta is
already a decimal with six fractional digits, so it is natural to
desire having direct Decimal to timedelta conversion, but without
important use-case this feature will be hard to sell.

----------

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


More information about the Python-bugs-list mailing list