[issue26530] tracemalloc: add C API to manually track/untrack memory allocations
Antoine Pitrou
report at bugs.python.org
Thu Mar 10 10:21:27 EST 2016
Antoine Pitrou added the comment:
This may indeed be useful but:
- those functions should be no-ops when tracing isn't enabled (so as to be as fast as possible)
- you should take the GIL if necessary (but only if tracing is enabled, of course)
----------
nosy: +pitrou
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26530>
_______________________________________
More information about the Python-bugs-list
mailing list