[issue39576] Surprising MemoryError in `decimal` with MAX_PREC

Stefan Krah report at bugs.python.org
Fri Feb 21 04:11:19 EST 2020


Stefan Krah <stefan at bytereef.org> added the comment:

"So non-integer powers are left out" in isolation would indeed be
wrong, but actual sentence is unambiguously qualified with:

"... since _decimal has no notion of exact non-integer powers yet.",
which clearly states that exact non-integer powers exist and
_decimal does not recognize them (it usually produces exact results
in the respective cases but still sets Inexact).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39576>
_______________________________________


More information about the Python-bugs-list mailing list