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

Serhiy Storchaka report at bugs.python.org
Mon Mar 19 04:52:15 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

"Special cases aren't special enough to break the rules."

Supporting floats is a special case. After ending the period of deprecation the code can be simplified.

----------

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


More information about the Python-bugs-list mailing list