Comment 5 for bug 115655

Revision history for this message
Matthias Klose (doko) wrote : Re: [Bug 115655] Re: using PyMem_DEL() instead of PyObject_FREE() causes python 2.5 to segfault

David Ross schrieb:
> I see what you were asking now.
>
> http://svn.python.org/projects/python/branches/release24-maint/Include/objimpl.h
> http://svn.python.org/projects/python/branches/release25-maint/Include/objimpl.h
>
> Comments say...
> Unless you have specific memory management requirements, use
> ! PyObject_{New, NewVar, Del}.
>
> I'll use Del, and change NEW to New for naming consistency.

thanks! A fixed package for feisty-proposed would be appreciated as well.