use Py_ssize_t instead of int. (dm)