summaryrefslogtreecommitdiffstats
path: root/Doc/myformat.perl
diff options
context:
space:
mode:
authorSjoerd Mullender <sjoerd@acm.org>1995-08-29 09:18:14 (GMT)
committerSjoerd Mullender <sjoerd@acm.org>1995-08-29 09:18:14 (GMT)
commit6ec3c653da9ffd098f522261d5592e64ff8e7889 (patch)
tree360bde69268001269a7dbd061551622b42c867e3 /Doc/myformat.perl
parentb0a2ce515b0342b96ab1bc89c588af471c0c2b0f (diff)
downloadcpython-6ec3c653da9ffd098f522261d5592e64ff8e7889.zip
cpython-6ec3c653da9ffd098f522261d5592e64ff8e7889.tar.gz
cpython-6ec3c653da9ffd098f522261d5592e64ff8e7889.tar.bz2
Implemented two new functions in sys:
getcounts() returns a list of counts of allocations and deallocations for all different object types. getobjects(n [, type ]) returns a list of recently allocated and not-yet-freed objects of the given type (all objects if no type given). Only the n most recent (all if n==0) objects are returned. getcounts is only available if compiled with -DCOUNT_ALLOCS, getobjects is only available if compiled with -DTRACE_REFS. Note that everything must be compiled with these options!
Diffstat (limited to 'Doc/myformat.perl')
0 files changed, 0 insertions, 0 deletions