summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-03-30 21:16:18 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-03-30 21:16:18 (GMT)
commitaf2b3f4f3e7a1d4c2e17780ffd1a682ecce2d79e (patch)
tree77682e06038e1773c35afa654f85fe9c7e6a27b6
parent847c1816ffd32c41b2e5ce3a771458267071b285 (diff)
parentff57aefa97bf82719b893fd9ed1d2b5f4ef51d04 (diff)
downloadcpython-af2b3f4f3e7a1d4c2e17780ffd1a682ecce2d79e.zip
cpython-af2b3f4f3e7a1d4c2e17780ffd1a682ecce2d79e.tar.gz
cpython-af2b3f4f3e7a1d4c2e17780ffd1a682ecce2d79e.tar.bz2
merge 3.4
-rw-r--r--Misc/SpecialBuilds.txt8
1 files changed, 5 insertions, 3 deletions
diff --git a/Misc/SpecialBuilds.txt b/Misc/SpecialBuilds.txt
index 646ac23..732cb00 100644
--- a/Misc/SpecialBuilds.txt
+++ b/Misc/SpecialBuilds.txt
@@ -13,12 +13,14 @@ Py_REF_DEBUG
------------
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,