This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lemburg
Recipients Mark.Shannon, jtaylor, lemburg, pitrou, rhettinger, serhiy.storchaka, tim.peters
Date 2015-03-07.13:43:17
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
There seem to be quite a few other places where this simple optimization could make sense as well, perhaps even going as far
as converting all uses of PyMem_MALLOC to PyObject_MALLOC.

There was a time when the small memory allocator did not return
free arenas to the system allocator, but those are long ago.

The only detail to watch out for is not mixing the malloc/free APIs. In particular, memory which is allocated in the interpreter and then deallocated elsewhere in extensions needs to continue using the PyMem_* APIs.
Date User Action Args
2015-03-07 13:43:18lemburgsetrecipients: + lemburg, tim.peters, rhettinger, pitrou, Mark.Shannon, jtaylor, serhiy.storchaka
2015-03-07 13:43:18lemburgsetmessageid: <>
2015-03-07 13:43:18lemburglinkissue23601 messages
2015-03-07 13:43:17lemburgcreate