I updated the PEP according to different comments: * 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()
http://www.python.org/dev/peps/pep-0454/ (not updated yet) Remaining questions: * do you have a better suggestion for GroupedStats.stats attribute or GroupedStats.statistics() method: "stats" and "statistics" are too close * should GroupedStats.statistics() and GroupedStats.compare_to() always sort the result to drop the sort=True parameter? * do you prefer Snapshot.create() class method or take_snapshot() function? There is also a Snapload.load() class method Victor _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com