diff options
author | Victor Stinner <vstinner@python.org> | 2020-06-05 02:34:14 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-05 02:34:14 +0200 |
commit | 78a02c2568714562e23e885b6dc5730601f35226 (patch) | |
tree | 167982aa5857ae92f0dd301aaa3e22e908a9d9a1 /Python/context.c | |
parent | 88ec9190105c9b03f49aaef601ce02b242a75273 (diff) | |
download | cpython-git-78a02c2568714562e23e885b6dc5730601f35226.tar.gz |
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().
Diffstat (limited to 'Python/context.c')
0 files changed, 0 insertions, 0 deletions