New submission from Ram Rachum:

Please allow multiplying timedelta by a Decimal:

Python 3.3.0a1 (default, Mar  4 2012, 17:27:59) [MSC v.1500 32 bit (Intel)] on 
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import datetime
>>> import decimal
>>> decimal.Decimal('0.1')*datetime.timedelta(seconds=3)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: unsupported operand type(s) for *: 'Decimal' and 'datetime.timedelta'
>>>

----------
components: Library (Lib)
messages: 170737
nosy: cool-RR
priority: normal
severity: normal
status: open
title: Allow multiplying timedelta by Decimal
type: behavior
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15975>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to