Message177646
> sys.gettotalrefcount() is only defined when Python is compiled in
> debug mode. sys.getallocatedblocks() should only be available when
> the
> right debug option is present. This function is specific to CPython
> anyway, Python module should not rely on this (too much) ;-)
On the contrary, the aim is precisely to provide a memory statistics
function which is available for everyone, not only CPython developers.
It is simply not practical right now for a C extension developer to
check for memory leaks. |
|
Date |
User |
Action |
Args |
2012-12-17 12:52:20 | pitrou | set | recipients:
+ pitrou, tim.peters, jcea, ncoghlan, vstinner, techtonik, benjamin.peterson, Trundle, skrah, dmalcolm, meador.inge, neologix, python-dev |
2012-12-17 12:52:20 | pitrou | link | issue13390 messages |
2012-12-17 12:52:19 | pitrou | create | |
|