mirror of
https://github.com/python/cpython.git
synced 2025-10-21 14:12:27 +00:00
bpo-37340: Remove PyMethod_ClearFreeList() and PyCFunction_ClearFreeList() (GH-17284)
Remove PyMethod_ClearFreeList() and PyCFunction_ClearFreeList() functions: the free lists of bound method objects have been removed. Remove also _PyMethod_Fini() and _PyCFunction_Fini() functions.
This commit is contained in:
parent
7247407c35
commit
4dedd0f0dd
9 changed files with 7 additions and 39 deletions
|
@ -1173,9 +1173,7 @@ finalize_interp_types(PyThreadState *tstate, int is_main_interp)
|
|||
{
|
||||
if (is_main_interp) {
|
||||
/* Sundry finalizers */
|
||||
_PyMethod_Fini();
|
||||
_PyFrame_Fini();
|
||||
_PyCFunction_Fini();
|
||||
_PyTuple_Fini();
|
||||
_PyList_Fini();
|
||||
_PySet_Fini();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue