GH-98363: Shrink the physical size as well as the logical size (GH-100138)
This commit is contained in:
committed by
GitHub
parent
d0679c1239
commit
8c215466db
@@ -182,8 +182,7 @@ batched_next(batchedobject *bo)
|
||||
Py_DECREF(result);
|
||||
return NULL;
|
||||
}
|
||||
/* Elements in result[i:] are still NULL */
|
||||
Py_SET_SIZE(result, i);
|
||||
_PyTuple_Resize(&result, i);
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user