Closed as not planned
Description
Lines 1526 to 1542 in 18203a6
But according to the docs (https://docs.python.org/3/c-api/long.html?#c.PyLong_AsSsize_t), PyLong_AsSsize_t() call above may raise only OverflowError (at that line "value" - is an int or int subclass). I think we can turn this line to an assert (or just remove it entirely).
// transformed to a separate issue per @serhiy-storchaka suggestion in #112145