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 amaury.forgeotdarc, belopolsky, eric.snow, neologix, python-dev, rhettinger, tim.peters, vajrasky, vstinner
Date 2013-11-25.08:32:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385368353.36.0.0488097435545.issue18874@psf.upfronthosting.co.za>
In-reply-to
Content
>> 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.
History
Date User Action Args
2013-11-25 08:32:33vstinnersetrecipients: + vstinner, tim.peters, rhettinger, amaury.forgeotdarc, belopolsky, neologix, python-dev, eric.snow, vajrasky
2013-11-25 08:32:33vstinnersetmessageid: <1385368353.36.0.0488097435545.issue18874@psf.upfronthosting.co.za>
2013-11-25 08:32:33vstinnerlinkissue18874 messages
2013-11-25 08:32:33vstinnercreate