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 PyMalloc_{New,NewVar}. Neil
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4