gh-123990: Good bye WITH_FREELISTS macro (gh-124358)

This commit is contained in:
Donghee Na 2024-09-23 18:28:59 -07:00 committed by GitHub
parent be76e3f26e
commit ad7c778546
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 4 additions and 100 deletions

View file

@ -1146,7 +1146,6 @@ maybe_freelist_push(PyTupleObject *op)
void
_PyTuple_DebugMallocStats(FILE *out)
{
#ifdef WITH_FREELISTS
for (int i = 0; i < PyTuple_MAXSAVESIZE; i++) {
int len = i + 1;
char buf[128];
@ -1155,5 +1154,4 @@ _PyTuple_DebugMallocStats(FILE *out)
_PyDebugAllocatorStats(out, buf, _Py_FREELIST_SIZE(tuples[i]),
_PyObject_VAR_SIZE(&PyTuple_Type, len));
}
#endif
}