diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-12-16 21:11:35 +0100 |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-12-16 21:11:35 +0100 |
commit | 0c2c68b8717b6de5904d9927b8054e47cba2bd4b (patch) | |
tree | ebb1d25b7670bef385671cdb1756c5097a51e48b /Python/pythonrun.c | |
parent | 4b1d84908acce7a2f6b375e7c9750bd0ae99007f (diff) | |
parent | d59f230b88b3efadbd574f362ab3485f1a8cb5f0 (diff) | |
download | cpython-0c2c68b8717b6de5904d9927b8054e47cba2bd4b.tar.gz |
Merge 3.3.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index dd32017574..f0d8550773 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -38,9 +38,10 @@ #ifndef Py_REF_DEBUG #define PRINT_TOTAL_REFS() #else /* Py_REF_DEBUG */ -#define PRINT_TOTAL_REFS() fprintf(stderr, \ - "[%" PY_FORMAT_SIZE_T "d refs]\n", \ - _Py_GetRefTotal()) +#define PRINT_TOTAL_REFS() fprintf(stderr, \ + "[%" PY_FORMAT_SIZE_T "d refs, " \ + "%" PY_FORMAT_SIZE_T "d blocks]\n", \ + _Py_GetRefTotal(), _Py_GetAllocatedBlocks()) #endif #ifdef __cplusplus |