Message39247
Logged In: YES
user_id=21627
The patch looks good, except that it does not meet one of
Tim's requirements: there is no way to spell "give me memory
from the allocator that PyMalloc_New uses". _PyMalloc_Malloc
is clearly not for general use, since it starts with an
underscore.
What about calling this allocator (which could be either
PyMalloc or malloc) Py_Malloc, Py_Realloc, Py_Free?
Also, it appears that there is no function wrapper around
this allocator: A module that uses the PyMalloc allocator
will break in a configuration where pymalloc is disabled. |
|
Date |
User |
Action |
Args |
2007-08-23 15:11:36 | admin | link | issue530556 messages |
2007-08-23 15:11:36 | admin | create | |
|