[issue7811] [decimal] ValueError -> TypeError in from_tuple
Raymond Hettinger
report at bugs.python.org
Fri Apr 16 23:03:02 CEST 2010
Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:
I could see a TypeError for the outer tuple a tuple wasn't passed-in. If the contents aren't what we expect, I believe that calling it a ValueError is the Python way.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7811>
_______________________________________
More information about the Python-bugs-list
mailing list