[issue23201] Decimal(0)**0 is an error, 0**0 is 1, but Decimal(0) == 0
Raymond Hettinger
report at bugs.python.org
Sat Jan 10 10:27:56 CET 2015
Raymond Hettinger added the comment:
> A possibility would be to add "(disallowed by the
> Decimal standard)" to the exception message.
That is what InvalidOperation means ;-)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23201>
_______________________________________
More information about the Python-bugs-list
mailing list