Bram Moolenaar wrote:

> Dominique Pelle wrote:
>
>> I see some valgrind errors when using the ":python" command
>> with Vim-7.2.351 on Linux. It happens when using the Python lib
>> from Ubuntu-9.10 packages. I then downloaded Python-2.6.4 sources
>> from http://www.python.org/download/ and compiled Python myself
>> with -O0 -g to have symbols in stack trace.
...

> I get similar errors.  They look like Python errors to me.  Not sure if
> they are caused by how Vim uses the Python interpreter.


This is not an issue after all.

This document...

http://svn.python.org/view/python/trunk/Misc/README.valgrind?view=markup

... explains why Valgrind reports the error in PyObject_Free().
It is harmless and expected. It can be silenced by configuring
Python with the "--without-pymalloc" option.

I verified that there is no valgrind error anymore after configuring
Python with that option.

Sorry for the noise.
-- Dominique

-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui