I will change it for the asarray one. The others are directly exposed into the C-api as implementations of the slots corresponding to PySequence_*, so they are correctly defined as Py_ssize_t.