[Zope3-checkins] CVS: ZODB4/ZODB - Connection.py:1.91

Jeremy Hylton jeremy@zope.com
Fri, 6 Dec 2002 12:00:14 -0500


Update of /cvs-repository/ZODB4/ZODB
In directory cvs.zope.org:/tmp/cvs-serv21192

Modified Files:
	Connection.py 
Log Message:
Add comment about reset() method.


=== ZODB4/ZODB/Connection.py 1.90 => 1.91 ===
--- ZODB4/ZODB/Connection.py:1.90	Wed Dec  4 16:46:27 2002
+++ ZODB4/ZODB/Connection.py	Fri Dec  6 12:00:13 2002
@@ -219,6 +219,8 @@
             # version.
             self._cache.clear()
             self._version = version
+        # This method doesn't acquire the lock, so it shouldn't be called
+        # when the DB is delivering invalidations.
         self._cache.invalidateMany(self._invalidated)
         self._invalidated.clear()
         self._opened = time.time()