From a83465f8cd0b09da7185b7ccca220364130cafea Mon Sep 17 00:00:00 2001 From: Sergey Miryanov Date: Thu, 24 Jul 2025 23:48:34 +0500 Subject: [PATCH] Do not call get_gc_state from inside loop in expand_region_transitively_reachable --- Python/gc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Python/gc.c b/Python/gc.c index 25536270523305..2e697faac032b5 100644 --- a/Python/gc.c +++ b/Python/gc.c @@ -1396,7 +1396,7 @@ expand_region_transitively_reachable(PyGC_Head *container, PyGC_Head *gc, GCStat assert(_PyObject_GC_IS_TRACKED(op)); if (_Py_IsImmortal(op)) { PyGC_Head *next = GC_NEXT(gc); - gc_list_move(gc, &get_gc_state()->permanent_generation.head); + gc_list_move(gc, &gcstate->permanent_generation.head); gc = next; continue; } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy