[Python-Dev] Updated PEP 454 (tracemalloc): no more metrics! (original) (raw)
Victor Stinner victor.stinner at gmail.com
Sun Oct 27 17:26:17 CET 2013
- Previous message: [Python-Dev] Updated PEP 454 (tracemalloc): no more metrics!
- Next message: [Python-Dev] Updated PEP 454 (tracemalloc): no more metrics!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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 ("", 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
- Previous message: [Python-Dev] Updated PEP 454 (tracemalloc): no more metrics!
- Next message: [Python-Dev] Updated PEP 454 (tracemalloc): no more metrics!
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]