summaryrefslogtreecommitdiffstats
path: root/Lib/tracemalloc.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30144: Import collections ABC from collections.abc rather than ↵Serhiy Storchaka2017-04-241-1/+1
| | | | collections. (#1263)
* tracemalloc now supports domainsVictor Stinner2016-03-221-18/+55
| | | | | | | | | | | | | | | | | Issue #26588: * The _tracemalloc now supports tracing memory allocations of multiple address spaces (domains). * Add domain parameter to tracemalloc_add_trace() and tracemalloc_remove_trace(). * tracemalloc_add_trace() now starts by removing the previous trace, if any. * _tracemalloc._get_traces() now returns a list of (domain, size, traceback_frames): the domain is new. * Add tracemalloc.DomainFilter * tracemalloc.Filter: add an optional domain parameter to the constructor and a domain attribute * Sublte change: use Py_uintptr_t rather than void* in the traces key. * Add tracemalloc_config.use_domain, currently hardcoded to 1
* Issue #23731: Implement PEP 488.Brett Cannon2015-04-131-1/+1
| | | | | | The concept of .pyo files no longer exists. Now .pyc files have an optional `opt-` tag which specifies if any extra optimizations beyond the peepholer were applied.
* tracemalloc: filter_traces() raises a TypeError if filters is not an iterableVictor Stinner2014-03-101-1/+4
|
* tracemalloc.py: add comments to show the format of tuplesVictor Stinner2014-03-061-0/+8
|
* tracemalloc.py: fix indentationVictor Stinner2014-03-061-4/+4
|
* Issue #20616: Add a format() method to tracemalloc.Traceback.Victor Stinner2014-02-161-0/+13
|
* tracemalloc: Fix slicing traces and fix slicing a traceback.Victor Stinner2014-02-011-4/+8
|
* tracemalloc: Fix hash methods of Statistic and StatisticDiffVictor Stinner2013-11-261-4/+3
|
* Issue #18874: allow to call tracemalloc.Snapshot.statistics(cumulative=True)Victor Stinner2013-11-251-4/+0
| | | | with traceback_limit=1
* Issue #18874: Implement the PEP 454 (tracemalloc)Victor Stinner2013-11-231-0/+464