[Python-Dev] Python 2.3 release schedule

Michael Hudson mwh@python.net
27 May 2002 16:18:10 +0100


Bernhard Herzog <bh@intevation.de> writes:

> 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? 

Well, obviously not:

> There is no PyMem_Del in Python 1.5.2.

You're right of course.  Thanks for the heads up.  I've changed it to
PyMem_Free now.

See any other problems?

Cheers,
M.

-- 
  Reading Slashdot can [...] often be worse than useless, especially
  to young and budding programmers: it can give you exactly the wrong
  idea about the technical issues it raises.
 -- http://www.cs.washington.edu/homes/klee/misc/slashdot.html#reasons