[Zope-Checkins] CVS: Zope/lib/python/ZODB - DB.py:1.53

Jeremy Hylton jeremy@zope.com
Tue, 24 Jun 2003 17:50:18 -0400


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

Modified Files:
	DB.py 
Log Message:
Remove stray numeric expression.  Add a couple of XXX comments.


=== Zope/lib/python/ZODB/DB.py 1.52 => 1.53 ===
--- Zope/lib/python/ZODB/DB.py:1.52	Tue Jun 24 17:47:50 2003
+++ Zope/lib/python/ZODB/DB.py	Tue Jun 24 17:50:18 2003
@@ -142,7 +142,8 @@
                 # No such version. We must have deleted the pool.
                 # Just let the connection go.
 
-                # We need to break circular refs to make it really go:
+                # We need to break circular refs to make it really go.
+                # XXX What objects are involved in the cycle?
                 connection.__dict__.clear()
                 
                 return
@@ -491,11 +492,12 @@
             del pools[version]
             pool, allocated, pool_lock = info
             pooll.remove((pool, allocated))
-            try: pool_lock.release()
-            except: pass
+            try:
+                pool_lock.release()
+            except: # XXX Do we actually expect this to fail?
+                pass
             del pool[:]
             del allocated[:]
-            6L
 
     def connectionDebugInfo(self):
         r=[]