[Python-Dev] PEP 454: tracemalloc (n-th version) (original) (raw)
Victor Stinner victor.stinner at gmail.com
Tue Nov 5 22:21:04 CET 2013
- Previous message: [Python-Dev] PEP 454: tracemalloc (n-th version)
- Next message: [Python-Dev] python2 and python3 and vim
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
2013/11/3 Victor Stinner <victor.stinner at gmail.com>:
"n-th version": Sorry, I don't remember the version number of the PEP :-)
Charles-François doesn't like the magic Statistic.key attribute which may be a string, a tuple of 2 strings, or a tuple of (filename: str, lineno: str) tuples depending on key_type parameter of Snapshot.statistics().
So I replaced Statistic.key with Statistic.traceback which is always a traceback (tuple of (filename: str, lineno: str) tuples). I also renamed the key_type parameter of Snapshot.statistics() to "group_by".
Victor
- Previous message: [Python-Dev] PEP 454: tracemalloc (n-th version)
- Next message: [Python-Dev] python2 and python3 and vim
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]