summaryrefslogtreecommitdiffstats
path: root/Python/gc_gil.c
diff options
context:
space:
mode:
authorDonghee Na <donghee.na@python.org>2024-02-01 20:53:53 (GMT)
committerGitHub <noreply@github.com>2024-02-01 20:53:53 (GMT)
commit13907968d73b3b602c81e240fb7892a2627974d6 (patch)
tree1113a242a55c14484f81d0997a167cacc5e42da1 /Python/gc_gil.c
parent587d4802034749e2aace9c00b00bd73eccdae1e7 (diff)
downloadcpython-13907968d73b3b602c81e240fb7892a2627974d6.zip
cpython-13907968d73b3b602c81e240fb7892a2627974d6.tar.gz
cpython-13907968d73b3b602c81e240fb7892a2627974d6.tar.bz2
gh-111968: Use per-thread freelists for dict in free-threading (gh-114323)
Diffstat (limited to 'Python/gc_gil.c')
-rw-r--r--Python/gc_gil.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/gc_gil.c b/Python/gc_gil.c
index 04c1c18..4e2aa8f 100644
--- a/Python/gc_gil.c
+++ b/Python/gc_gil.c
@@ -11,8 +11,6 @@
void
_PyGC_ClearAllFreeLists(PyInterpreterState *interp)
{
- _PyDict_ClearFreeList(interp);
-
_Py_ClearFreeLists(&interp->freelist_state, 0);
}