Looking at existing stackoverflow answers, there are 4 things recommended for using valgrind to debug python memory leaks.
./configure using:
--with-pydebug--without-pymalloc--with-valgrind
It is also recommended on SO and in README.valgrind to use a suppression file to suppress some valgrind errors.
I'm wondering:
Does the newer
--with-valgrindoption eliminate the need for this suppression file?Does the
--with-valgrindoption eliminate the need for the--without-pymalloc?
Answers I've read: