diff options
author | Donghee Na <donghee.na@python.org> | 2024-02-10 00:57:04 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-10 00:57:04 (GMT) |
commit | d4d5bae1471788b345155e8e93a2fe4ab92d09dc (patch) | |
tree | 989f7efdc60aff606679d12b4f1853174dd4365d /Python/context.c | |
parent | 564385612cdf72c2fa8e629a68225fb2cd3b3d99 (diff) | |
download | cpython-d4d5bae1471788b345155e8e93a2fe4ab92d09dc.zip cpython-d4d5bae1471788b345155e8e93a2fe4ab92d09dc.tar.gz cpython-d4d5bae1471788b345155e8e93a2fe4ab92d09dc.tar.bz2 |
gh-111968: Refactor _PyXXX_Fini to integrate with _PyObject_ClearFreeLists (gh-114899)
Diffstat (limited to 'Python/context.c')
-rw-r--r-- | Python/context.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Python/context.c b/Python/context.c index 793dfa2..e44fef7 100644 --- a/Python/context.c +++ b/Python/context.c @@ -1284,17 +1284,6 @@ _PyContext_ClearFreeList(_PyFreeListState *freelist_state, int is_finalization) } -void -_PyContext_Fini(_PyFreeListState *state) -{ - // With Py_GIL_DISABLED: - // the freelists for the current thread state have already been cleared. -#ifndef Py_GIL_DISABLED - _PyContext_ClearFreeList(state, 1); -#endif -} - - PyStatus _PyContext_Init(PyInterpreterState *interp) { |