[issue27662] Check against PY_SSIZE_T_MAX instead of PY_SIZE_MAX in List_New

Mark Dickinson report at bugs.python.org
Fri Aug 19 03:43:10 EDT 2016


Mark Dickinson added the comment:

Also, if you're switching to `PyMem_Calloc`, I'd suggest dropping the assertion at the end, since that's now really an assertion for logic that appears in `PyMem_Calloc` rather than in this function.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27662>
_______________________________________


More information about the Python-bugs-list mailing list