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
{{ message }}
Repository navigation
Commit fefc070
Browse filesBrowse the repository at this point in the historyBrowse files
[mypyc] Raise ValueError if int too big for native int type (#20385)
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