Bug report
Bug description:
There was a typo, and uncollectable objects printed only if DEBUG_COLLECTABLE mode is set.
Affected main and 3.14 (183b020)
|
for (gc = GC_NEXT(&finalizers); gc != &finalizers; gc = GC_NEXT(gc)) { |
|
n++; |
|
if (gcstate->debug & _PyGC_DEBUG_COLLECTABLE) |
|
debug_cycle("uncollectable", FROM_GC(gc)); |
|
} |
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
Bug report
Bug description:
There was a typo, and uncollectable objects printed only if DEBUG_COLLECTABLE mode is set.
Affected main and 3.14 (183b020)
cpython/Python/gc.c
Lines 1783 to 1787 in 59acdba
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs