aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/gc_gil.c
diff options
context:
space:
mode:
authorDonghee Na <donghee.na@python.org>2024-01-19 03:15:00 +0900
committerGitHub <noreply@github.com>2024-01-18 18:15:00 +0000
commit7fa511ba576b9a760f3971ad16dbbbbf91c3f39c (patch)
treed3e5fa9dd914d10f6f018bc728664635419ecb32 /Python/gc_gil.c
parent2d3f6b56c5846df60b0b305e51a1d293ba0b2aae (diff)
downloadcpython-7fa511ba576b9a760f3971ad16dbbbbf91c3f39c.tar.gz
cpython-7fa511ba576b9a760f3971ad16dbbbbf91c3f39c.zip
gh-111968: Use per-thread freelists for generator in free-threading (gh-114189)
Diffstat (limited to 'Python/gc_gil.c')
-rw-r--r--Python/gc_gil.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/gc_gil.c b/Python/gc_gil.c
index edf84176f79..04c1c184250 100644
--- a/Python/gc_gil.c
+++ b/Python/gc_gil.c
@@ -12,7 +12,6 @@ void
_PyGC_ClearAllFreeLists(PyInterpreterState *interp)
{
_PyDict_ClearFreeList(interp);
- _PyAsyncGen_ClearFreeLists(interp);
_Py_ClearFreeLists(&interp->freelist_state, 0);
}