* Remove add_filter(), get_filters(), clear_filters()
* Remove the default filter on tracemalloc.py
* Give more explanation on the impacts of set_traceback_limit()
* Add Trace, Traceback and Frame classes: generated on-demand read-only views
of traces
* Add a new StatisticDiff class and add new Snapshot.compare_to() method.
The method return a list of StatisticDiff instances and replaces the
compare_to parameter of Snapshot.statistics()
* Remove Statistic.size_diff and Statistic.count_diff attributes
* Remove get_traces()
* rename disable/enable/is_enabled() to stop/start/is_tracing()
* add disable/enable/is_enabled() which are temporary, and disable() doesn't
clear traces
* a traceback now always contains a least 1 frame, use (('<unknown>', 0),) if
the traceback cannot read or if the traceback limit is 0
* write more documentation on filter functions
* Remove GroupedStats class: replaced with a new Snapshot.statistics() method
* Filter: rename include attribute to inclusive
* Snapshot.group_by() now raises a ValueError when cumulative parameter is
miused
* replace Snapshot.create() class method with take_snapshot() function
* get_traces() now returns a list instead of a dict (remove addresses)
* remove get_stats()
* unknown frames are now stored as ("<unknown>", 0) instead of (None, None)
* remove get_object_address()
* remove get_trace()
* remove add_inclusive_filter() and add_exclusive_filter() functions
* remove "address" key type from Snapshot.group_by()
* add GroupedStats.traceback_limit attribute
* add a Statistic class
* add GroupedStats.statistics() method
* Grouped.compare_to() first parameter is now mandatory, the list is now sorted
by default, add a new optional sort parameter
* "-X tracemalloc=NFRAME" command line option and PYTHONTRACEMALLOC=NFRAME
environment variable now specify the number of frames. "-X tracemalloc" is
still accepted (NFRAME=1)
* rename clear_traces() to reset()
* rename Snapshot.top_by(group_by) to Snapshot.group_by(key_type);
rename GroupedStats.group_by to GroupedStats.key_type
* get_tracemalloc_memory() only returns a int (total size),
instead of a (size: int, free: int) tuple
* mention id() builtin function
* rename get_object_trace() to get_object_traceback(), the function now
only returns the traceback (no more the size)
* rename add_include_filter() to add_inclusive_filter(),
and add_exclude_filter() to add_exclusive_filter()
* remove the StatsDiff class
* Remove match*() methods from the Filter class
* remove metrics
More details on filename pattern, traces, etc.
* remove Frame, Trace and TraceStats classes
* add Metric class
* replace start_timer()/stop_timer() with a new Task class
* Task can now be scheduled using a threshold on the size of the traced memory,
and only called repeat times
* add DisplayTop.display() method
* a lot of other (minor) changes