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
py/objint_longlong: Add overflow checks to strtoll() result.
This relies on errno unfortunately, but there's no other way to
disambiguate MAX_LONGLONG and an out of range value (apart from manually
re-implementing strtoll).
Includes some test workarounds to account for things which now overflow:
- uctypes_array_load_store test was failing already, now won't parse.
- all the ffi_int tests contain 64-bit unsigned values, that won't parse
as long long.
This work was funded through GitHub Sponsors.
Signed-off-by: Angus Gratton <angus@redyak.com.au>
Signed-off-by: Angus Gratton <angus@redyak.com.au>
0 commit comments