bpo-40521: Make context free list per-interpreter by vstinner · Pull Request #20644 · python/cpython
Conversation
Each interpreter now has its own context free list:
- Move context free list into PyInterpreterState.
- Add _Py_context_state structure.
- Add tstate parameter to _PyContext_ClearFreeList()
and _PyContext_Fini(). - Pass tstate to clear_freelists().
Each interpreter now has its own context free list: * Move context free list into PyInterpreterState. * Add _Py_context_state structure. * Add tstate parameter to _PyContext_ClearFreeList() and _PyContext_Fini(). * Pass tstate to clear_freelists().
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters