[Python-Dev] Activating pymalloc (original) (raw)
Tim Peters tim.one@comcast.net
Fri, 15 Mar 2002 16:04:27 -0500
- Previous message: [Python-Dev] Activating pymalloc
- Next message: [Python-Dev] Activating pymalloc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
[Martin v. Loewis]
I may be missing something, but won't PyObjectMalloc (or PyObjectMALLOC if you prefer macros) have precisely this effect?
Yes. It's not "sane", though, because PyObject_xxx is not "supposed to be used" for raw memory. Nevertheless, it would work. In the same way, I can mix PyMem_New with PyMem_FREE today freely in the core, but you'll object that they're from different "families" .
- Previous message: [Python-Dev] Activating pymalloc
- Next message: [Python-Dev] Activating pymalloc
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]