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 njs, pitrou, python-dev, vstinner
Date 2016-03-22.12:56:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1458651409.59.0.902288331678.issue26588@psf.upfronthosting.co.za>
In-reply-to
Content
> New changeset b86cdebe0e97 by Victor Stinner in branch 'default':
> tracemalloc now supports domains
> https://hg.python.org/cpython/rev/b86cdebe0e97

I hate working on huge patches, it's a pain to rebase them. I chose to push a first implementation to unblock the issue #26530 "tracemalloc: add C API to manually track/untrack memory allocations".

I'm interested by your feedback on the C API.

The C implementation can still be changed later.

For example, I chose to push a first implementation which *always* store domain_t in traces keys. Later, I will write a patch to switch from the compact key (Py_uintptr_t) to key using domain (pointer_t) dynamically.
History
Date User Action Args
2016-03-22 12:56:49vstinnersetrecipients: + vstinner, pitrou, njs, python-dev
2016-03-22 12:56:49vstinnersetmessageid: <1458651409.59.0.902288331678.issue26588@psf.upfronthosting.co.za>
2016-03-22 12:56:49vstinnerlinkissue26588 messages
2016-03-22 12:56:49vstinnercreate