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 a2670fc commit 5baec94Copy full SHA for 5baec94
1 file changed
Objects/listobject.c
@@ -269,7 +269,7 @@ PyList_New(Py_ssize_t size)
269
}
270
271
if (op == NULL) {
272
- // do we still need this freelist? if so, we could store it at small_lists[0] with some special casing
+ // the size based freelist was empty, so we try the general freelist
273
op = _Py_FREELIST_POP(PyListObject, lists);
274
275
op = PyObject_GC_New(PyListObject, &PyList_Type);
0 commit comments