[issue27660] Replace size_t with Py_ssize_t as the type of local variable in list_resize
R. David Murray
report at bugs.python.org
Sun Jul 31 15:12:12 EDT 2016
R. David Murray added the comment:
ob->allocated is temporarily set to -1 by list.sort to detect mutations, so the restriction of new_allocated to size_t is probably intentional. If so, though, there ought to be a comment making that clear.
----------
nosy: +r.david.murray
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27660>
_______________________________________
More information about the Python-bugs-list
mailing list