Lines Matching full:traces
312 def __init__(self, traces): argument
314 # traces is a tuple of trace tuples: see Trace constructor
315 self._traces = traces
335 return "<Traces len=%s>" % len(self)
417 Snapshot of traces of memory blocks allocated by Python.
420 def __init__(self, traces, traceback_limit): argument
421 # traces is a tuple of trace tuples: see _Traces constructor for
423 self.traces = _Traces(traces)
454 Create a new Snapshot instance with a filtered traces sequence, filters
456 list, return a new Snapshot instance with a copy of the traces.
469 new_traces = [trace for trace in self.traces._traces
474 new_traces = self.traces._traces.copy()
487 for trace in self.traces._traces:
508 for trace in self.traces._traces:
553 Take a snapshot of traces of memory blocks allocated by Python.
558 traces = _get_traces()
560 return Snapshot(traces, traceback_limit)