Shouldn't we also cast the values here to `Py_ssize_t`? (instead of ìnt`)