[issue18874] Add a new tracemalloc module to trace memory allocations
STINNER Victor
report at bugs.python.org
Mon Nov 25 09:32:33 CET 2013
STINNER Victor added the comment:
>> Here is the patch to tidy up the Lib/test_tracemalloc.py.
>> It fixed the typo, and removed unused import and unused variables.
>
>Thanks, I applied your patch.
Oh, except:
- data = [allocate_bytes(123) for count in range(1000)]
+ [allocate_bytes(123) for count in range(1000)]
If you don't store the result, the memory is immediatly released.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18874>
_______________________________________
More information about the Python-bugs-list
mailing list