[issue23201] Decimal(0)**0 is an error, 0**0 is 1, but Decimal(0) == 0
Stefan Krah
report at bugs.python.org
Fri Jan 9 13:53:29 CET 2015
Stefan Krah added the comment:
The behavior is already documented (power function):
"at least one of x or y must be nonzero"
The decimal docs are already so large that it is probably a bad
idea to add a warning.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23201>
_______________________________________
More information about the Python-bugs-list
mailing list