[Zope-Checkins] CVS: ZODB3/ZODB - Connection.py:1.101.4.2
Jeremy Hylton
cvs-admin at zope.org
Tue Nov 25 16:08:12 EST 2003
Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv935
Modified Files:
Tag: Zope-2_8-devel-branch
Connection.py
Log Message:
Don't need _breakcr(). We have GC.
=== ZODB3/ZODB/Connection.py 1.101.4.1 => 1.101.4.2 ===
--- ZODB3/ZODB/Connection.py:1.101.4.1 Tue Nov 25 15:32:11 2003
+++ ZODB3/ZODB/Connection.py Tue Nov 25 16:08:11 2003
@@ -128,16 +128,6 @@
ver = ''
return '<Connection at %08x%s>' % (id(self), ver)
- def _breakcr(self):
- # Persistent objects and the cache don't participate in GC.
- # Explicitly remove references from the connection to its
- # cache and to the root object, because they refer back to the
- # connection.
- if self._cache is not None:
- self._cache.clear()
- self._incrgc = None
- self.cacheGC = None
-
def __getitem__(self, oid):
obj = self._cache.get(oid, None)
if obj is not None:
More information about the Zope-Checkins
mailing list