[Zope-Checkins] SVN: Zope/trunk/lib/python/ made changes in c code for Python2.5

nikhil n nikhil.n.n at gmail.com
Sat Sep 8 15:29:06 EDT 2007


Log message for revision 79532:
  made changes in c code for Python2.5

Changed:
  U   Zope/trunk/lib/python/AccessControl/cAccessControl.c
  U   Zope/trunk/lib/python/ComputedAttribute/_ComputedAttribute.c
  U   Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c
  U   Zope/trunk/lib/python/Missing/_Missing.c
  U   Zope/trunk/lib/python/MultiMapping/_MultiMapping.c
  U   Zope/trunk/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src/ZopeSplitter.c
  U   Zope/trunk/lib/python/Record/_Record.c

-=-
Modified: Zope/trunk/lib/python/AccessControl/cAccessControl.c
===================================================================
--- Zope/trunk/lib/python/AccessControl/cAccessControl.c	2007-09-08 19:19:36 UTC (rev 79531)
+++ Zope/trunk/lib/python/AccessControl/cAccessControl.c	2007-09-08 19:29:06 UTC (rev 79532)
@@ -1278,7 +1278,7 @@
 static void ZopeSecurityPolicy_dealloc(ZopeSecurityPolicy *self) {
 
 	Py_DECREF(self->ob_type);	/* Extensionclass init incref'd */
-	PyMem_DEL(self);  
+	PyObject_DEL(self);  
 }
 
 
@@ -1362,7 +1362,7 @@
   Py_XDECREF(self->validate);
   Py_XDECREF(self->checkPermission);
   Py_DECREF(self->ob_type);	/* Extensionclass init incref'd */
-  PyMem_DEL(self);  
+  PyObject_DEL(self);  
 }
 
 static PyObject *
@@ -1559,7 +1559,7 @@
 
 	Py_XDECREF(self->ob_type);	/* Extensionclass init incref'd */
 
-	PyMem_DEL(self);  
+	PyObject_DEL(self);  
 }
 
 
@@ -1705,7 +1705,7 @@
 
 	Py_DECREF(self->ob_type);	/* Extensionclass init incref'd */
 
-	PyMem_DEL(self);  
+	PyObject_DEL(self);  
 }
 
 /*

Modified: Zope/trunk/lib/python/ComputedAttribute/_ComputedAttribute.c
===================================================================
--- Zope/trunk/lib/python/ComputedAttribute/_ComputedAttribute.c	2007-09-08 19:19:36 UTC (rev 79531)
+++ Zope/trunk/lib/python/ComputedAttribute/_ComputedAttribute.c	2007-09-08 19:29:06 UTC (rev 79532)
@@ -54,7 +54,7 @@
 {
   Py_DECREF(self->callable);
   Py_DECREF(self->ob_type);
-  PyMem_DEL(self);
+  PyObject_DEL(self);
 }
 
 static PyObject *

Modified: Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c
===================================================================
--- Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c	2007-09-08 19:19:36 UTC (rev 79531)
+++ Zope/trunk/lib/python/DocumentTemplate/cDocumentTemplate.c	2007-09-08 19:29:06 UTC (rev 79532)
@@ -84,7 +84,7 @@
   Py_XDECREF(self->namespace);
   Py_XDECREF(self->guarded_getattr);
   Py_DECREF(self->ob_type);
-  PyMem_DEL(self);
+  PyObject_DEL(self);
 }
 
 static PyObject *
@@ -438,7 +438,7 @@
   Py_XDECREF(self->data);
   Py_XDECREF(self->dict);
   Py_DECREF(self->ob_type);
-  PyMem_DEL(self);
+  PyObject_DEL(self);
 }
 
 static PyObject *
@@ -514,7 +514,7 @@
 DictInstance_dealloc(DictInstance *self)
 {
   Py_DECREF(self->data);
-  PyMem_DEL(self);
+  PyObject_DEL(self);
 }
 
 static PyObject *

Modified: Zope/trunk/lib/python/Missing/_Missing.c
===================================================================
--- Zope/trunk/lib/python/Missing/_Missing.c	2007-09-08 19:19:36 UTC (rev 79531)
+++ Zope/trunk/lib/python/Missing/_Missing.c	2007-09-08 19:29:06 UTC (rev 79532)
@@ -32,7 +32,7 @@
 Missing_dealloc(Missing *self)
 {
   Py_DECREF(self->ob_type);
-  PyMem_DEL(self);
+  PyObject_DEL(self);
 }
 
 static PyObject *

Modified: Zope/trunk/lib/python/MultiMapping/_MultiMapping.c
===================================================================
--- Zope/trunk/lib/python/MultiMapping/_MultiMapping.c	2007-09-08 19:19:36 UTC (rev 79531)
+++ Zope/trunk/lib/python/MultiMapping/_MultiMapping.c	2007-09-08 19:29:06 UTC (rev 79532)
@@ -130,7 +130,7 @@
 {
   Py_XDECREF(self->data);
   Py_DECREF(self->ob_type);
-  PyMem_DEL(self);
+  PyObject_DEL(self);
 }
 
 static PyObject *

Modified: Zope/trunk/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src/ZopeSplitter.c
===================================================================
--- Zope/trunk/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src/ZopeSplitter.c	2007-09-08 19:19:36 UTC (rev 79531)
+++ Zope/trunk/lib/python/Products/PluginIndexes/TextIndex/Splitter/ZopeSplitter/src/ZopeSplitter.c	2007-09-08 19:29:06 UTC (rev 79532)
@@ -47,7 +47,7 @@
 {
     Py_XDECREF(self->text);
     Py_XDECREF(self->synstop);
-    PyMem_DEL(self);
+    PyObject_DEL(self);
 }
 
 static int

Modified: Zope/trunk/lib/python/Record/_Record.c
===================================================================
--- Zope/trunk/lib/python/Record/_Record.c	2007-09-08 19:19:36 UTC (rev 79531)
+++ Zope/trunk/lib/python/Record/_Record.c	2007-09-08 19:29:06 UTC (rev 79532)
@@ -156,7 +156,7 @@
 {
   Record_deal(self);
   Py_DECREF(self->ob_type);
-  PyMem_DEL(self);
+  PyObject_DEL(self);
 }
 
 static PyObject *



More information about the Zope-Checkins mailing list