Oren Tirosh
2003-05-28 12:52:45 UTC
Hello Everyone,
Does anyone know of a simple way to instrument the Python code to allow
the use of Valgrind? I would like to perform a memory check on my
extension which uses the python memory allocation, and I guess that I am
not the first to want to do something like this.
I expect that I will also have to change the compilation so that the
Python allocation won't do anything clever.
On Unix/Linux you can build a Python interpreter that uses the defaultDoes anyone know of a simple way to instrument the Python code to allow
the use of Valgrind? I would like to perform a memory check on my
extension which uses the python memory allocation, and I guess that I am
not the first to want to do something like this.
I expect that I will also have to change the compilation so that the
Python allocation won't do anything clever.
system malloc using
./configure --without-pymalloc
I don't know the Windows equivalent.
Oren