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 30cfdbf commit 07c9c15Copy full SHA for 07c9c15
Modules/arraymodule.c
@@ -269,8 +269,6 @@ array_resize(arrayobject *self, Py_ssize_t newsize)
269
size_t _new_size = (newsize >> 4) + (Py_SIZE(self) < 8 ? 3 : 7) + newsize;
270
int itemsize = self->ob_descr->itemsize;
271
272
- /* XXX The following multiplication and division does not optimize away
273
- like it does for lists since the size is not known at compile time */
274
if (!arraydata_size_valid(_new_size, itemsize)) {
275
PyErr_NoMemory();
276
return -1;
0 commit comments