[Python-Dev] Activating pymalloc

Neil Schemenauer nas@python.ca
Thu, 14 Mar 2002 16:23:22 -0800


Guido van Rossum wrote:
> Some extensions will break because they don't use the right
> alloc/dealloc macros (we just fixed a few of these in Zope)

A lot of extensions will break.  The example code in xxmodule.c was
"wrong" for years.  

> alpha time is a good time to start fortcing this issue.  A big warning
> in NEWS might be useful.

If we don't want to create yet another memory management API then that's
the right approach.  Personally, I don't mind enabling pymalloc without
changing the API.  However, I suspect I'm better at debugging memory
management bugs than the average Python user.  I'm afraid users are
going to be upset when they upgrade to 2.3 and things start crashing
because they are using some broken extension modules.

  Neil