bpo-38896: Remove PyUnicode_ClearFreeList() function (GH-17354)

Remove PyUnicode_ClearFreeList() function: the Unicode free list has
been removed in Python 3.3.
This commit is contained in:
Victor Stinner 2019-11-23 02:30:32 +01:00 committed by GitHub
parent 14a89c4798
commit d68b592dd6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 6 additions and 27 deletions

View file

@ -15332,14 +15332,6 @@ _PyUnicode_Init(void)
return _PyStatus_OK();
}
/* Finalize the Unicode implementation */
int
PyUnicode_ClearFreeList(void)
{
return 0;
}
void
PyUnicode_InternInPlace(PyObject **p)
@ -15951,7 +15943,6 @@ _PyUnicode_Fini(PyThreadState *tstate)
Py_CLEAR(unicode_latin1[i]);
}
_PyUnicode_ClearStaticStrings();
(void)PyUnicode_ClearFreeList();
}
PyInterpreterState *interp = _PyInterpreterState_GET_UNSAFE();