]> granicus.if.org Git - python/commit
Issue #20539: Improve math.factorial error messages and types for large inputs.
authorMark Dickinson <dickinsm@gmail.com>
Thu, 10 Apr 2014 13:29:39 +0000 (09:29 -0400)
committerMark Dickinson <dickinsm@gmail.com>
Thu, 10 Apr 2014 13:29:39 +0000 (09:29 -0400)
commit5990d2864c73e1abc951c1d17741eab3e1b30be1
tree8d0dc09622cce43651638572d87f6df9149ff935
parent6ed7c20ce5b01b69abbc01b9a22bdd9983db9c01
Issue #20539: Improve math.factorial error messages and types for large inputs.
- Better message for the OverflowError in large positive inputs.
- Changed exception type from OverflowError to ValueError for large negative inputs.
Lib/test/test_math.py
Misc/NEWS
Modules/mathmodule.c