You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gc.DEBUG_STATS no longer print out anything #122298
The command gc.set_debug(gc.DEBUG_STATS) no longer prints out any statistics, even though gc.set_debug(gc.DEBUG_COLLECTABLE) shows that the gc is still being run.
(Probably caused by the incremental GC implementation, #116206 .)
For testing you can use the following code --- in previous Python versions the collecting generation 0 text is printed, now it's not
Activity
encukou commentedon Jul 26, 2024
@markshannon Was this intentional?
GH-122298: Restore printing of GC stats (GH-123261)
pythonGH-122298: Restore printing of GC stats (pythonGH-123261)
[3.13] GH-122298: Restore printing of GC stats (GH-123261) (#123268)
Revert "[3.13] pythonGH-122298: Restore printing of GC stats (pythonG…
hugovk commentedon Jan 7, 2025
Thanks for the fix and backport, let's close if nothing left to do here.