[issue23034] Dynamically control debugging output

2016-07-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue23034] Dynamically control debugging output

2016-07-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset cd911e06bf6c by Serhiy Storchaka in branch 'default': Issue #23034: The output of a special Python build with defined COUNT_ALLOCS, https://hg.python.org/cpython/rev/cd911e06bf6c -- nosy: +python-dev ___

[issue23034] Dynamically control debugging output

2016-06-21 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- assignee: -> serhiy.storchaka versions: +Python 3.6 -Python 3.5 ___ Python tracker ___

[issue23034] Dynamically control debugging output

2015-05-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Proposed patch adds the -X showalloccount option, that turn on the output of allocated objects counts if COUNT_ALLOCS, SHOW_ALLOC_COUNT, or SHOW_TRACK_COUNT are defined. The output of COUNT_ALLOCS is now written to stderr. -- keywords: +patch stage:

[issue23034] Dynamically control debugging output

2014-12-12 Thread Antoine Pitrou
Antoine Pitrou added the comment: Also this debug output should be printed on stderr, not stdout. -- nosy: +pitrou ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue23034 ___

[issue23034] Dynamically control debugging output

2014-12-12 Thread STINNER Victor
STINNER Victor added the comment: Debugging output switched by Py_REF_DEBUG is now enabled only when -X showrefcount is specified (issue17323). Yes, I like the idea of doing that for other debug options. -- nosy: +haypo ___ Python tracker

[issue23034] Dynamically control debugging output

2014-12-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Here is (conceivably incomplete) list of debugging and tracing output (but not error reporting) from C code. Controlled output. Import and shutdown details -- controlled by the -v flag. Parser tracing -- controlled by the -d flag. If Py_REF_DEBUG is defined

[issue23034] Dynamically control debugging output

2014-12-11 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: When Python is compiled with some defined macros (e.g. COUNT_ALLOCS) it prints additional debugging output at shutdown. This additional output can cause tests failure (see issue19527). It would be good if Python will silent by default and produce