]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120974: Use common freelist code in asyncio (#122132)
authorSam Gross <colesbury@gmail.com>
Tue, 23 Jul 2024 16:24:24 +0000 (12:24 -0400)
committerGitHub <noreply@github.com>
Tue, 23 Jul 2024 16:24:24 +0000 (21:54 +0530)
commitc908d1f87d287a4b3ec58c85b692a7eb617fa6ea
treef0ad1ea303566363fbfdd9a9cbbd2cb5fa0e6351
parent2c1b1e7a07eba0138b9858c6f2bea3cae9af0808
gh-120974: Use common freelist code in asyncio (#122132)

This refactors asyncio to use the common freelist helper functions and
macros. As a side effect, the freelist for _asyncio.Future is now
re-enabled in the free-threaded build.
Include/internal/pycore_freelist_state.h
Modules/_asynciomodule.c
Objects/object.c