Re: [Python-Dev] PEP 454: add a new tracemalloc module (second round)

2013-09-17 Thread Victor Stinner
2013/9/17 Victor Stinner : > Issue tracking the implementation: > http://bugs.python.org/issue18874 If you want to test the implementation, you can try the following repository: http://hg.python.org/features/tracemalloc Or try the patch attached on the issue #18874 on the Python default version.

[Python-Dev] PEP 454: add a new tracemalloc module (second round)

2013-09-16 Thread Victor Stinner
Hi, Thanks to the early remarks on the PEP 454, I redesigned and enhanced the API of the new tracemalloc module. Changes: * it is now possibility to record more than 1 frame per memory allocation * add filters on filename and line number * new GroupedStats and StatsDiff class to generate and comp