[issue37990] gc.collect prints debug stats incorrectly

Hubert report at bugs.python.org
Fri Aug 30 17:22:40 EDT 2019


New submission from Hubert <hubert.jasudowicz at gmail.com>:

Example:

Python 3.9.0a0 (heads/master:39d87b5471, Aug 30 2019, 23:19:13) 
[GCC 9.1.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import gc
>>> gc.set_debug(gc.DEBUG_STATS)
>>> gc.collect()
gc: collecting generation 2...
gc: objects in each generation: 589 4120 0
gc: objects in permanent generation: 0
gc: done, 0 unreachable, 0 uncollectable, %.4fs elapsed
0

----------
components: Interpreter Core
messages: 350890
nosy: chivay
priority: normal
severity: normal
status: open
title: gc.collect prints debug stats incorrectly
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37990>
_______________________________________


More information about the Python-bugs-list mailing list