OverflowError: signed short integer is greater than maximum

From Helpful
Jump to navigation Jump to search


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).