bpo-40521: Make async gen free lists per-interpreter (GH-20643)
Each interpreter now has its own asynchronous generator free lists: * Move async gen free lists into PyInterpreterState. * Move _PyAsyncGen_MAXFREELIST define to pycore_interp.h * Add _Py_async_gen_state structure. * Add tstate parameter to _PyAsyncGen_ClearFreeLists and _PyAsyncGen_Fini().
V
Victor Stinner committed
78a02c2568714562e23e885b6dc5730601f35226
Parent: 88ec919
Committed by GitHub <noreply@github.com>
on 6/5/2020, 12:34:14 AM