[Zodb-checkins] CVS: ZODB3/BTrees - BTreeTemplate.c:1.74.10.9 BucketTemplate.c:1.54.6.8

Jeremy Hylton jeremy at zope.com
Thu Jul 10 12:44:50 EDT 2003


Update of /cvs-repository/ZODB3/BTrees
In directory cvs.zope.org:/tmp/cvs-serv7894

Modified Files:
      Tag: zodb33-devel-branch
	BTreeTemplate.c BucketTemplate.c 
Log Message:
Persistent doesn't define tp_clear.


=== ZODB3/BTrees/BTreeTemplate.c 1.74.10.8 => 1.74.10.9 ===
--- ZODB3/BTrees/BTreeTemplate.c:1.74.10.8	Thu Jul 10 11:42:37 2003
+++ ZODB3/BTrees/BTreeTemplate.c	Thu Jul 10 11:44:43 2003
@@ -1957,7 +1957,7 @@
 {
     if (self->state != cPersistent_GHOST_STATE)
 	_BTree_clear(self);
-    return cPersistenceCAPI->pertype->tp_clear((PyObject *)self);
+    return 0;
 }
 
 /*


=== ZODB3/BTrees/BucketTemplate.c 1.54.6.7 => 1.54.6.8 ===
--- ZODB3/BTrees/BucketTemplate.c:1.54.6.7	Thu Jul 10 11:42:37 2003
+++ ZODB3/BTrees/BucketTemplate.c	Thu Jul 10 11:44:43 2003
@@ -1570,8 +1570,7 @@
 {
     if (self->state != cPersistent_GHOST_STATE)
 	_bucket_clear(self);
-    
-    return cPersistenceCAPI->pertype->tp_clear((PyObject *)self);
+    return 0;
 }
 
 /* Code to access Bucket objects as mappings */




More information about the Zodb-checkins mailing list