1. 05 Nov, 2002 3 commits
    • Jeremy Hylton's avatar
      Better fix for George Bailey events. · 91c7c629
      Jeremy Hylton authored
      Also, add sanity checks in _getVersion() and _getSerial().
      91c7c629
    • Guido van Rossum's avatar
      I fixed a bug in asyncore.poll() in Python 2.3; quoting the Python cvs · 0dc7ce85
      Guido van Rossum authored
      log:
      
          Fix an old bug in poll().  When a signal is handled while we're
          blocked in select(), this will raise select.error with errno set
          to EINTR.  The except clauses correctly ignores this error, but
          the rest of the logic will then call read() for all objects in
          select's *input* list of read file descriptors.  Then when an
          object's read_handler() is naive, it will call recv() on its
          socket, which will raise an IOError, and then asyncore decides to
          close the socket.  To fix this, we simply return in this case.
      
      Rather than incorporating a fixed copy of asyncore.py in Zope2 and
      ZODB3, I'm incorporating a fixed copy of just asyncore.poll() in this
      file, since we already have a copy of asyncore.loop() here.
      0dc7ce85
    • Guido van Rossum's avatar
      Remove unused "import string". · cfbe7cbf
      Guido van Rossum authored
      cfbe7cbf
  2. 04 Nov, 2002 4 commits
  3. 01 Nov, 2002 2 commits
  4. 31 Oct, 2002 2 commits
  5. 30 Oct, 2002 8 commits
  6. 24 Oct, 2002 5 commits
  7. 23 Oct, 2002 3 commits
  8. 22 Oct, 2002 1 commit
  9. 21 Oct, 2002 2 commits
  10. 20 Oct, 2002 1 commit
  11. 19 Oct, 2002 2 commits
  12. 18 Oct, 2002 2 commits
    • Jeremy Hylton's avatar
      Extend iterator() to include hint about backpointers. · 2b0c9aa4
      Jeremy Hylton authored
      The Record() object now has a data_txn attribute that is either None
      or the id of the transaction that contains the data used by the
      current record.  Example: When transactionalUndo() modifies an object,
      it typical creates a new data record that points at the transaction
      before the undo.  The new record contains the same logical data as the
      record it refers to.  (For consistency purposes, this is a stronger
      claim than that the pickles in two different data records are the
      same.)
      
      Add a test of the new iterator() feature in TransactionalUndoStorage.
      2b0c9aa4
    • Jeremy Hylton's avatar
      Various small cleanups in FileStorage. · 0b2d3637
      Jeremy Hylton authored
      Share backpointer implementation between _loadBack() and
      _loadBackPOS() to avoid duplicate code.
      
      Simplify interface between FileIterator and RecordIterator.  Don't
      pass unused arguments and don't pass nested tuples.
      
      Use global variables to hold trans and data struct formats.
      
      Reformat several docstrings.
      
      Add whitespace to RecordIterator so that I can read it.
      0b2d3637
  13. 16 Oct, 2002 5 commits