replace PY_SIZE_MAX with SIZE_MAX

This commit is contained in:
Benjamin Peterson 2016-09-07 09:26:18 -07:00
parent c75abff533
commit 2f8bfef158
12 changed files with 18 additions and 26 deletions

View file

@ -1787,7 +1787,7 @@ element_ass_subscr(PyObject* self_, PyObject* item, PyObject* value)
step = -step;
}
assert((size_t)slicelen <= PY_SIZE_MAX / sizeof(PyObject *));
assert((size_t)slicelen <= SIZE_MAX / sizeof(PyObject *));
/* recycle is a list that will contain all the children
* scheduled for removal.