[Python-Dev] survey of extension module memory managment (original) (raw)
Skip Montanaro skip@pobox.com
Tue, 19 Mar 2002 08:11:57 -0600
- Previous message: [Python-Dev] survey of extension module memory managment
- Next message: [Python-Dev] 2.2.1 release schedule
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Fredrik> $ more Python-1.5.2/Objects/xxobject.c
Fredrik> ... PyObject_NEW/PyMem_DEL ...
Fredrik> it looked like this between 1994 and May 2000.
Fredrik> and as noted elsewhere, PyObject_DEL, PyObject_New, and
Fredrik> PyObject_Del don't exist in older versions.
It would seem that whatever is done, something like what /F does in _sre.c or what MAL does in mx should be made available as a suggested workaround for people who want to modify existing extension modules that need to run with older versions of Python. If it's done once by this group I think it will have a better chance of being adopted and keeps everyone from having to reinvent the wheel.
Skip
- Previous message: [Python-Dev] survey of extension module memory managment
- Next message: [Python-Dev] 2.2.1 release schedule
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]