Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3da9fbb commit ff57aefCopy full SHA for ff57aef
1 file changed
Misc/SpecialBuilds.txt
@@ -13,12 +13,14 @@ Py_REF_DEBUG
13
------------
14
15
Turn on aggregate reference counting. This arranges that extern _Py_RefTotal
16
-hold a count of all references, the sum of ob_refcnt across all objects. In a
17
-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
18
+interpreter to print the reference count total as well the number of memory
19
+blocks allocated after each statement:
20
21
>>> 23
22
23
- [8288 refs]
+ [8288 refs, 14332 blocks]
24
>>>
25
26
Note that if this count increases when you're not storing away new objects,
0 commit comments