[Python-Dev] Re: Suggested memory API rules for 2.3

Tim Peters tim.one@comcast.net
Wed, 03 Apr 2002 17:24:02 -0500


[the recommended 2.3+ API]
>     PyMem_{Malloc, Realloc, Free}
>     PyObject_{Malloc, Realloc, Free}
>     PyObject_{New, NewVar}

[Michael Hudson]
> We should probably provide an example of preprocessor hackery that
> lets you use these interfaces and remain backward compatible as far as
> possible.  Maybe even a little .h file which we can suggest extension
> authors bundle with their extensions.

I would be delighted if somebody else did that.  As I age, I find it
increasingly difficult to do more than 103 things at once <wink>.