[Zodb-checkins] CVS: ZODB3/ZODB/tests - VersionStorage.py:1.25.10.2

Jeremy Hylton cvs-admin at zope.org
Tue Nov 25 16:07:50 EST 2003


Update of /cvs-repository/ZODB3/ZODB/tests
In directory cvs.zope.org:/tmp/cvs-serv746

Modified Files:
      Tag: Zope-2_8-devel-branch
	VersionStorage.py 
Log Message:
Remove call to clear().

Fixing this was easier than I expected.  The cache doesn't have a
clear method anymore because it participates in GC, eliminating all
the complexity of avoid leaks in the face of uncollectable cycles.


=== ZODB3/ZODB/tests/VersionStorage.py 1.25.10.1 => 1.25.10.2 ===
--- ZODB3/ZODB/tests/VersionStorage.py:1.25.10.1	Tue Nov 25 15:32:13 2003
+++ ZODB3/ZODB/tests/VersionStorage.py	Tue Nov 25 16:07:49 2003
@@ -491,7 +491,6 @@
 
         self._storage.pack(time.time(), referencesf)
         cn.sync()
-        cn._cache.clear()
 
         # make sure all the non-version data is there
         for name, obj in root.items():




More information about the Zodb-checkins mailing list