[ZODB-Dev] [ zodb-Patches-516768 ] pymalloc patch (fixes segfaults)

noreply@sourceforge.net noreply@sourceforge.net
Tue, 12 Feb 2002 19:41:53 -0800


Patches item #516768, was opened at 2002-02-12 19:41
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=315628&aid=516768&group_id=15628

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Dave Wallace (hundo)
Assigned to: Nobody/Anonymous (nobody)
Summary: pymalloc patch (fixes segfaults)

Initial Comment:
Here's a patch I whipped up over a couple of evenings
to fix segfaults that I was getting with my python2.2
configured with --with-pymalloc. Mostly it's bunch of
-  PyMem_DEL(self);
+  PyObject_DEL(self);

I'm not sure how this affects pre 2.0 pythons but it
should work even for non-pymalloc pythons and it passes
all of the unit tests for me with pymalloc.

NOTE: This patch is against today's CVS from
:pserver:anonymous@cvs.zope.org:/cvs-repository
but the README suggests that I submit patches here.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=315628&aid=516768&group_id=15628