[Zope3-checkins] CVS: Zope3/src/zope/proxy/context - wrapper.c:1.8
Steve Alexander
steve@cat-box.net
Fri, 11 Apr 2003 09:23:41 -0400
Update of /cvs-repository/Zope3/src/zope/proxy/context
In directory cvs.zope.org:/tmp/cvs-serv29858/src/zope/proxy/context
Modified Files:
wrapper.c
Log Message:
Removed commented-out alternative code for deallocating ContextProperty
and ContextMethod objects, after confirming with Those Who Should Know
that this is the right way to do it.
=== Zope3/src/zope/proxy/context/wrapper.c 1.7 => 1.8 ===
--- Zope3/src/zope/proxy/context/wrapper.c:1.7 Thu Apr 10 04:54:04 2003
+++ Zope3/src/zope/proxy/context/wrapper.c Fri Apr 11 09:23:40 2003
@@ -187,7 +187,6 @@
Py_XDECREF(gs->prop_del);
Py_XDECREF(gs->prop_doc);
ContextDescriptorType.tp_dealloc(self);
- /* self->ob_type->tp_free(self); */
}
static PyObject *
@@ -360,7 +359,6 @@
{
_PyObject_GC_UNTRACK((PyObject *)cm);
Py_XDECREF(cm->cm_callable);
- /* ((PyObject *)cm)->ob_type->tp_free((PyObject *)cm); */
ContextDescriptorType.tp_dealloc((PyObject *)cm);
}