[issue13390] Hunt memory allocations in addition to reference leaks
Antoine Pitrou
report at bugs.python.org
Mon Dec 17 13:52:20 CET 2012
Antoine Pitrou added the comment:
> 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.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13390>
_______________________________________
More information about the Python-bugs-list
mailing list