This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients Trundle, benjamin.peterson, dmalcolm, jcea, meador.inge, ncoghlan, neologix, pitrou, python-dev, skrah, techtonik, tim.peters, vstinner
Date 2012-12-17.12:52:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <2042273242.325145957.1355748734169.JavaMail.root@zimbra10-e2.priv.proxad.net>
In-reply-to <CAMpsgwafpEo7-d7+J5p_g7N_y_hEmPPYOyC7PBM7y-9Gbqfa8w@mail.gmail.com>
Content
> 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.
History
Date User Action Args
2012-12-17 12:52:20pitrousetrecipients: + pitrou, tim.peters, jcea, ncoghlan, vstinner, techtonik, benjamin.peterson, Trundle, skrah, dmalcolm, meador.inge, neologix, python-dev
2012-12-17 12:52:20pitroulinkissue13390 messages
2012-12-17 12:52:19pitroucreate