gc.DEBUG_STATS no longer print out anything #122298
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
The command
gc.set_debug(gc.DEBUG_STATS)
no longer prints out any statistics, even thoughgc.set_debug(gc.DEBUG_COLLECTABLE)
shows that thegc
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 notCPython versions tested on:
CPython main branch
Operating systems tested on:
Linux
Linked PRs
The text was updated successfully, but these errors were encountered: