In more itertools , the numeric range class has cached, arbitrary-precision length via its len property…
In more itertools , the numeric range class has cached, arbitrary-precision length via its len property…: a task in UltraTerminal (Harbor dataset). Fix numeric range. eq and numeric range. hash so they work correctly for ranges of any size — including those with more than sys.maxsize elements —…
The task
Fix `numeric_range.__eq__` and `numeric_range.__hash__` so they work correctly for ranges of any size — including those with more than `sys.maxsize` elements — without raising `OverflowError`.
Part of harness-hub/UltraTerminal.