We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5baec94 commit 77f3e29Copy full SHA for 77f3e29
1 file changed
Objects/listobject.c
@@ -311,7 +311,6 @@ list_new_prealloc(Py_ssize_t size)
311
if (size < PyList_MAXSAVESIZE) {
312
PyListObject *op = (PyListObject *)_Py_FREELIST_POP(PyLongObject, small_lists[size]);
313
if (op) {
314
- // allocated with ob_item still allocated, but we need to set the other fields
315
assert (op->allocated >= size);
316
return (PyObject *) op;
317
}
0 commit comments