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

Jeremy Hylton jeremy at zope.com
Thu Jun 26 15:02:25 EDT 2003


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]




More information about the Zodb-checkins mailing list