[issue31147] a mostly useless check in list_extend()
Raymond Hettinger
report at bugs.python.org
Wed Aug 9 00:09:30 EDT 2017
Raymond Hettinger added the comment:
-0 The test "Py_SIZE(self) < self->allocated" is very cheap so I don't mind leaving it in to handle the rare cases (or to prevent future bugs if the list_resize logic ever changes).
----------
nosy: +rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue31147>
_______________________________________
More information about the Python-bugs-list
mailing list