summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2016-07-03 18:03:53 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2016-07-03 18:03:53 (GMT)
commit7e160ce356036bccda2608d9ee10bfe276dfa97a (patch)
tree8c5ff466786f788afa0d8400c8d8c57211e85cdb /Python
parent6c94d10a193ffdaad9d3b7c2376d9f4de776575f (diff)
downloadcpython-7e160ce356036bccda2608d9ee10bfe276dfa97a.zip
cpython-7e160ce356036bccda2608d9ee10bfe276dfa97a.tar.gz
cpython-7e160ce356036bccda2608d9ee10bfe276dfa97a.tar.bz2
Issue #23034: The output of a special Python build with defined COUNT_ALLOCS,
SHOW_ALLOC_COUNT or SHOW_TRACK_COUNT macros is now off by default. It can be re-enabled using the "-X showalloccount" option. It now outputs to stderr instead of stdout.
Diffstat (limited to 'Python')
-rw-r--r--Python/pylifecycle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index 72a00e6..2d2dcba 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -626,7 +626,7 @@ Py_FinalizeEx(void)
/* Debugging stuff */
#ifdef COUNT_ALLOCS
- dump_counts(stdout);
+ dump_counts(stderr);
#endif
/* dump hash stats */
_PyHash_Fini();