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 vstinner
Recipients Jim.Jewett, neologix, python-dev, vstinner
Date 2013-11-27.23:05:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385593526.6.0.278260466314.issue19818@psf.upfronthosting.co.za>
In-reply-to
Content
Could you please write a patch on Doc/library/tracemalloc.rst? It's really hard to review your raw comments in comments.

You should probably sign the contributor agreement.
http://www.python.org/psf/contrib/contrib-form/

"""
Is [clear_traces()] just a shortcut for stop();start()  ?  If so, please say so.
"""

It's almost the same. clear_traces() does not uninstall and reinstall hooks on memory allocators. I prefer to not give too much details in the high-level documentation.

"""
Line 558, similar to above:
      the new snapshots (``int``): ``0`` if the memory blocks have been
      allocated in the new snapshot.
->
      the new snapshots (``int``).  size_diff==size if the memory blocks do not appear in the old snapshot.
"""

This is not correct, size_diff is 0 if memory blocks are new, not size.
History
Date User Action Args
2013-11-27 23:05:26vstinnersetrecipients: + vstinner, neologix, python-dev, Jim.Jewett
2013-11-27 23:05:26vstinnersetmessageid: <1385593526.6.0.278260466314.issue19818@psf.upfronthosting.co.za>
2013-11-27 23:05:26vstinnerlinkissue19818 messages
2013-11-27 23:05:26vstinnercreate