[Python-checkins] cpython (merge 3.4 -> default): merge 3.4
benjamin.peterson
python-checkins at python.org
Sun Mar 30 23:16:27 CEST 2014
http://hg.python.org/cpython/rev/c830436b25dc
changeset: 90053:c830436b25dc
parent: 90050:6ab0f3af5bf2
parent: 90052:0c20f9bea056
user: Benjamin Peterson <benjamin at python.org>
date: Sun Mar 30 17:16:18 2014 -0400
summary:
merge 3.4
files:
Misc/SpecialBuilds.txt | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/Misc/SpecialBuilds.txt b/Misc/SpecialBuilds.txt
--- a/Misc/SpecialBuilds.txt
+++ b/Misc/SpecialBuilds.txt
@@ -13,12 +13,14 @@
------------
Turn on aggregate reference counting. This arranges that extern _Py_RefTotal
-hold a count of all references, the sum of ob_refcnt across all objects. In a
-debug-mode build, this is where the "8288" comes from in
+hold a count of all references, the sum of ob_refcnt across all objects.
+Passing ``-X showrefcount`` on the command line causes the interactive
+interpreter to print the reference count total as well the number of memory
+blocks allocated after each statement:
>>> 23
23
- [8288 refs]
+ [8288 refs, 14332 blocks]
>>>
Note that if this count increases when you're not storing away new objects,
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list