[Zope-Checkins] CVS: Zope/lib/python/BTrees - BTreeItemsTemplate.c:1.17

Tim Peters tim.one@comcast.net
Sat, 22 Jun 2002 13:22:54 -0400


Update of /cvs-repository/Zope/lib/python/BTrees
In directory cvs.zope.org:/tmp/cvs-serv6002

Modified Files:
	BTreeItemsTemplate.c 
Log Message:
BTreeItems_item():  wasn't updating bucket access time.
nextBTreeItems() and nextTreeSetItems():  ditto.


=== Zope/lib/python/BTrees/BTreeItemsTemplate.c 1.16 => 1.17 ===
   }
 
-  PER_ALLOW_DEACTIVATION(self->currentbucket);
+  PER_UNUSE(self->currentbucket);
   return r;
 
  err:
   Py_DECREF(k);
   Py_XDECREF(v);
-  PER_ALLOW_DEACTIVATION(self->currentbucket);
+  PER_UNUSE(self->currentbucket);
   return NULL;
 }
 
@@ -487,7 +487,7 @@
 
           i->position ++;
 
-          PER_ALLOW_DEACTIVATION(currentbucket);
+          PER_UNUSE(currentbucket);
         }
       else
         {
@@ -527,7 +527,7 @@
 
           i->position ++;
 
-          PER_ALLOW_DEACTIVATION(currentbucket);
+          PER_UNUSE(currentbucket);
         }
       else
         {