OverflowError: signed short integer is greater than maximum: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
Search results suggest this error mostly comes up around date parsing, where parsing makes specific assumptions about values, e.g. that January 1231893th is not a date which is fair. | Search results suggest this error mostly comes up around date parsing, where parsing makes specific assumptions about values, e.g. that January 1231893th is not a date, which is fair. | ||
...but it seems to potentially happen at any border between python types and C-extension types, like the array module, or my case, ncurses (trying to initialize more than 32k color pairs). | ...but it seems to potentially happen at any border between python types and C-extension types, like the array module, or my case, ncurses (trying to initialize more than 32k color pairs). |
Revision as of 16:56, 20 April 2024
Search results suggest this error mostly comes up around date parsing, where parsing makes specific assumptions about values, e.g. that January 1231893th is not a date, which is fair.
...but it seems to potentially happen at any border between python types and C-extension types, like the array module, or my case, ncurses (trying to initialize more than 32k color pairs).