[issue33083] math.factorial accepts non-integral Decimal instances

Tal Einat report at bugs.python.org
Mon Jul 30 03:55:48 EDT 2018


Tal Einat <taleinat at gmail.com> added the comment:

>> accepting non-integral floats but not non-integral Decimals and Fractions.

> I don't think anyone is proposing to accept non-integral floats. non-integral floats are _already_ rejected with a ValueError. Did you mean "integral" instead of "non-integral"?

Indeed, yes.

----------

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


More information about the Python-bugs-list mailing list