commit | 78a02c2568714562e23e885b6dc5730601f35226 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Fri Jun 05 02:34:14 2020 +0200 |
committer | GitHub <noreply@github.com> | Fri Jun 05 02:34:14 2020 +0200 |
tree | 167982aa5857ae92f0dd301aaa3e22e908a9d9a1 | |
parent | 88ec9190105c9b03f49aaef601ce02b242a75273 [diff] |
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().