[Python-Dev] Python 2.3 release schedule

Bernhard Herzog bh@intevation.de
27 May 2002 17:17:48 +0200


Michael Hudson <mwh@python.net> writes:

> > [Michael Hudson]
> > > Writing a pymemcompat.h that people can bundle with their extensions
> > > and then use the 2.3 memory interface with all Pythons in the range
> > > 1.5.2 to 2.3.
[...]
> Surprise of the day: this:
> 
> #if PY_VERSION_HEX < 0x01060000
[...]
> #define PyObject_Del(ob) \
>                      PyMem_Del((ob))
> 
> #endif

Have you actually tried it? There is no PyMem_Del in Python 1.5.2.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                           http://www.mapit.de/