[Zope3-checkins] CVS: ZODB4/src/zodb/zeo - client.py:1.15

Jeremy Hylton jeremy@zope.com
Thu, 26 Jun 2003 14:02:25 -0400


Update of /cvs-repository/ZODB4/src/zodb/zeo
In directory cvs.zope.org:/tmp/cvs-serv17611

Modified Files:
	client.py 
Log Message:
Add comment explaining dance around self._serials.


=== ZODB4/src/zodb/zeo/client.py 1.14 => 1.15 ===
--- ZODB4/src/zodb/zeo/client.py:1.14	Thu Jun 19 17:41:08 2003
+++ ZODB4/src/zodb/zeo/client.py	Thu Jun 26 14:02:24 2003
@@ -776,6 +776,8 @@
     def _check_serials(self):
         """Internal helper to move data from _serials to _seriald."""
         if self._serials:
+            # self._serials is updated asynchronously by serialnos(),
+            # which always extend()s the list.
             l = len(self._serials)
             r = self._serials[:l]
             del self._serials[:l]