We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 43eaabb commit 31582a2Copy full SHA for 31582a2
1 file changed
Python/gc.c
@@ -1708,7 +1708,7 @@ gc_collect_increment(PyThreadState *tstate, struct gc_collection_stats *stats)
1708
1709
if (gc_list_is_empty(not_visited)) {
1710
completed_scavenge(gcstate);
1711
- assert(gc_list_is_empty(&gcstate->old[visited].head));
+ assert(gc_list_is_empty(&gcstate->old[gcstate->visited_space].head));
1712
}
1713
validate_spaces(gcstate);
1714
0 commit comments