summaryrefslogtreecommitdiffstats
path: root/Lib/tracemalloc.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37961: Fix regression in tracemalloc.Traceback.__repr__ (GH-23805)Daniel Hahler2020-12-161-1/+1
| | | Regression in 8d59eb1b66c51b2b918da9881c57d07d08df43b7.
* bpo-37961, tracemalloc: add Traceback.total_nframe (GH-15545)Julien Danjou2019-10-151-8/+18
| | | | Add a total_nframe field to the traces collected by the tracemalloc module. This field indicates the original number of frames before it was truncated.
* bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)Serhiy Storchaka2019-08-081-0/+16
| | | | They now return NotImplemented for unsupported type of the other operand.
* bpo-32121: Add most_recent_first parameter to tracemalloc.Traceback.format ↵Jesse-Bakker2017-11-291-8/+18
| | | | | | | | (#4534) * Add most_recent_first parameter to tracemalloc.Traceback.format to allow reversing the order of the frames in the output * Reversed default sorting of tracemalloc.Traceback frames * Allowed negative limit, truncating from the other side.
* 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