Python 2.7.3, C++ embed memory leak?
Diez B. Roggisch
deets at web.de
Sat Jun 2 06:53:24 EDT 2012
Qi <no at no.com> writes:
> Hi guys,
>
> Is there any known memory leak problems, when embed Python 2.7.3
> in C++?
> I Googled but only found some old posts.
>
> I tried to only call Py_Initialize() and Py_Finalize(), nothing else
> between those functions, Valgrind still reports memory leaks
> on Ubuntu?
>
> Is that a know problem? Did Python 3.x solve it?
>
> I want some confirmation.
Python does some special things that confuse valgrind. Don't bother.
http://svn.python.org/projects/python/trunk/Misc/README.valgrind
Diez
More information about the Python-list
mailing list