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
[mypyc] Raise ValueError if int too big for native int type
Previously we used OverflowError, which seems inconsistent with
CPython, since a conversion/range check is arguably not an arithmetic
operation, and OverflowError is a subclass of ArithmeticError.
This is an extract for the docs for OverflowError: "Raised when the result
of an arithmetic operation is too large to be represented."
0 commit comments