I'm using Python 2.5.1 and run valgrind with the Misc/valgrind-python.supp inside the Python source distribution, and I do not get any warnings, even if I activate cleanup code. Of course, my project is not cimporting anything.
On 5/8/08, Michael Abshoff <[EMAIL PROTECTED]> wrote: > Robert Bradshaw wrote: > > On May 7, 2008, at 10:46 PM, Stefan Behnel wrote: > > > > Hi, > > > >> Yes, that's where we took the suppression file from that we use for > >> lxml. > >> > >> http://codespeak.net/svn/lxml/trunk/valgrind-python.supp > >> > > > > > > I am actually pretty paranoid about using suppression files and I do > prefer recompiling python "--without-pymalloc". But that is likely to be > something most people will not do since they do not build their own > python interpreter from sources. > > > > I bet turning off string interning, etc. would help clean up lots of > > the noise too. > > > > Hmm, I have seen a lot of noise with Cython 0.9.6.14 even when I set > > generate_cleanup_code = 3 > > In Sage about 100 doctests segfault at exit [out of 900] with that > setting on, nearly all of them involved matrix[2].pyx somehow IIRC. > Something for dev1 maybe? It is my understanding that this isn't the > default of Cython, but more which classes import other classes and in > which order. > > Anyhow: How do I turn off "string interning"? > > - Robert > > > Cheers, > > > Michael > > > > _______________________________________________ > > Cython-dev mailing list > > [email protected] > > http://codespeak.net/mailman/listinfo/cython-dev > > > > > > _______________________________________________ > Cython-dev mailing list > [email protected] > http://codespeak.net/mailman/listinfo/cython-dev > -- Lisandro Dalcín --------------- Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC) Instituto de Desarrollo Tecnológico para la Industria Química (INTEC) Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET) PTLC - Güemes 3450, (3000) Santa Fe, Argentina Tel/Fax: +54-(0)342-451.1594 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
