You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Correct boundaries check for int; raise OverflowError for such cases
Since there is no error in a value representation and PyLong_AsLong(-Long)
raises exactly that exception if the value exceed the destination range, it
should be OverflowError instead of ValueError. Also make error message be
similar to one from the original OverflowError raised by PyLong_AsLong.
0 commit comments