Random832 <random832 <at> fastmail.com> writes: > On Thu, Apr 28, 2016, at 05:05, Stefan Krah wrote: > > $ valgrind --suppressions=Misc/valgrind-python.supp ./python -c "import > > decimal" > > > > [...] > > ==16945== LEAK SUMMARY: > > ==16945== definitely lost: 0 bytes in 0 blocks > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Well, the obvious flaw with your test case is that a reference is > retained forever in the C static variable basic_context_template.
For actual users of Valgrind this is patently obvious and was pretty much the point of my post. Stefan Krah _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com