[issue17323] Disable [X refs, Y blocks] ouput in debug builds

Ezio Melotti report at bugs.python.org
Fri Mar 1 09:16:09 CET 2013


New submission from Ezio Melotti:

I suggest to disable the [X refs, Y blocks] ouput in debug builds by default, and provide an option to enable it if/when necessary.
Most of the time these values are not necessary, and they end up getting in the way while copy/pasting code from the interpreter and/or running tests (we even have a function in test.support to get rid of them).
They are sometimes useful while investigating refleaks, so there should still be an option to enable it.  I'm not sure what would be the best way to do it (a new python flag?).

----------
components: Interpreter Core
messages: 183244
nosy: ezio.melotti
priority: normal
severity: normal
stage: needs patch
status: open
title: Disable [X refs, Y blocks] ouput in debug builds
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17323>
_______________________________________


More information about the Python-bugs-list mailing list