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 <rep...@bugs.python.org>
<http://bugs.python.org/issue18874>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to