Compiling python3.4 for use with valgrind. What else is needed?

Looking at existing stackoverflow answers, there are four things recommended to use valgrind to debug python memory leaks.

./configure

using:

  • --with-pydebug

  • --without-pymalloc

  • --with-valgrind

It is also recommended to use SO and README.valgrind to use a suppression file to suppress some valgrind errors.

I'm interested in:

  • Does the new parameter --with-valgrind

    make this suppression file necessary?

  • The option --with-valgrind

    eliminates the need for --without-pymalloc

    ?

Answers I have read:

+3


source to share





All Articles