commit | 5698977186bc348223b5fdc5eda677316baa0f5e | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sun Dec 20 13:58:18 2009 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sun Dec 20 13:58:18 2009 +0000 |
tree | 07a0f77688edbdba7e0ac4b2e46685c6237b6e9d | |
parent | 0732fd952baf34eb0636fd6ce4c7093d2d70e98b [diff] |
math.factorial depends on PyLong_AsLong correctly converting floats; rewrite it to do the conversion explicitly instead. See issue #7550.