SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72156 0 71 Python

Raise OverflowError when appropriate on long->float conversion. Most of

the fiddling is simply due to that no caller of PyLong_AsDouble ever
checked for failure (so that's fixing old bugs).  PyLong_AsDouble is much
faster for big inputs now too, but that's more of a happy consequence
than a design goal.
T
Tim Peters committed
9fffa3eea3a7e99b0179988e7a016a45bf63ab96
Parent: 1832de4