[Python-Dev] Incorrect Misc/NEWS entry

Neil Schemenauer nas@python.ca
Tue, 7 May 2002 17:50:23 -0700

Andrew Kuchling wrote:
> One entry in Misc/NEWS reads:
> - Objects allocated using the new PyMalloc_New and PyMalloc_NewVar
>   functions will be allocated using pymalloc if it is enabled.  These
>   objects should be deallocated using PyMalloc_Del.  The PyObject_{New,
>   NewVar,NEW_VAR,Del,DEL} APIs have been changed to always use
>   PyMem_MALLOC and PyMem_FREE, even if pymalloc is enabled.  The
>   PyCore_* family of APIs have been removed.
> I can't find PyMalloc_New anywhere in the source code. Is this perhaps
> a typo for PyObject_New()?

Oops, that's written by me and is now totally wrong.  PyObject_{New,...}
will allocate using pymalloc if it's enabled.  Forget about