[Python-Dev] Add a new tracemalloc module to trace memory allocations (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Mon Sep 2 10🔞17 CEST 2013


Le Sun, 1 Sep 2013 11:36:51 +1000, Nick Coghlan <ncoghlan at gmail.com> a écrit :

+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.

So, it sounds like Victor may write a new PEP soon :-)

+1 from me on a flat namespace. Non-designed naming hierarchies are just a pain to work with.

Regards

Antoine.



More information about the Python-Dev mailing list