[issue23201] Decimal(0)**0 is an error, 0**0 is 1, but Decimal(0) == 0

Terry J. Reedy report at bugs.python.org
Sat Jan 10 10:16:44 CET 2015


Terry J. Reedy added the comment:

Thank you Tim.

A possibility would be to add "(disallowed by the Decimal standard)" to the exception message.

----------
nosy: +terry.reedy
versions:  -Python 3.6

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


More information about the Python-bugs-list mailing list