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

STINNER Victor report at bugs.python.org
Fri Jan 9 09:39:42 CET 2015


STINNER Victor added the comment:

> the spec is not likely to change on this point.

In this case, we should just document the behaviour with a reference to the General Decimal Arithmetic Specification.

----------
nosy: +haypo

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


More information about the Python-bugs-list mailing list