[Python-Dev] Add a new tracemalloc module to trace memory allocations

Victor Stinner victor.stinner at gmail.com
Thu Sep 5 23:30:53 CEST 2013


2013/9/1 Nick Coghlan <ncoghlan at gmail.com>:
> +1 from me for both tracemalloc and failmalloc in the same vein as
> faulthandler (and using similar API concepts to faulthandler).
>
> While I like the flat top level naming structure, we should clearly document
> these as implementation dependent runtime services. Other implementations
> may not provide them at all, and even if they do, many details will likely
> be different.
>
> The gc module may even fall into the same category.

I updated the PEP 454 to mention that tracemalloc has been written for CPython.

Victor


More information about the Python-Dev mailing list