[issue20539] math.factorial may throw OverflowError

Mark Dickinson report at bugs.python.org
Fri Feb 7 12:52:43 CET 2014


Mark Dickinson added the comment:

> The bit that is confusing is the error *message* - what int doesn't fit into a C long?

Agreed: it would be nice to intercept this and give a better message.

----------

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


More information about the Python-bugs-list mailing list