Mercurial > cpython-lru_cache-weakref
diff Python/pythonrun.c @ 77577:d63a80abfbec
Issue #14785: Add sys._debugmallocstats() to help debug low-level memory allocation issues
| author | David Malcolm <dmalcolm@redhat.com> |
|---|---|
| date | Fri, 22 Jun 2012 14:55:41 -0400 |
| parents | c3616595dada |
| children | 61e6ac40c816 |
line wrap: on
line diff
--- a/Python/pythonrun.c Fri Jun 22 18:40:02 2012 +0000 +++ b/Python/pythonrun.c Fri Jun 22 14:55:41 2012 -0400 @@ -642,7 +642,7 @@ #endif /* Py_TRACE_REFS */ #ifdef PYMALLOC_DEBUG if (Py_GETENV("PYTHONMALLOCSTATS")) - _PyObject_DebugMallocStats(); + _PyObject_DebugMallocStats(stderr); #endif call_ll_exitfuncs();
