[issue7811] [decimal] ValueError -> TypeError in from_tuple

Mark Dickinson report at bugs.python.org
Fri Apr 16 18:42:21 CEST 2010


Mark Dickinson <dickinsm at gmail.com> added the comment:

It's a bit ambiguous:  the object being supplied to the Decimal constructor does have the right type (tuple), but the wrong contents (i.e., value).  So you could argue either way on this, I guess.

----------
assignee:  -> mark.dickinson

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


More information about the Python-bugs-list mailing list