1. 04 Oct, 2001 5 commits
  2. 03 Oct, 2001 3 commits
  3. 02 Oct, 2001 5 commits
  4. 28 Sep, 2001 6 commits
  5. 26 Sep, 2001 1 commit
    • Jeremy Hylton's avatar
      Be more specific about exception begin caugh in test_merge(). · d6669eca
      Jeremy Hylton authored
      The only exceptions that an _p_resolveConflict() method should raise
      are ConflictError and ValueError.  If it raises a different exception,
      then it has failed.
      
      In general, a unittest should not use a bare except clause, because
      they almost always mask failures.  If the test really means to catch
      all exceptions, it's best to make a comment to that effect.
      d6669eca
  6. 21 Sep, 2001 1 commit
  7. 20 Sep, 2001 2 commits
  8. 18 Sep, 2001 1 commit
  9. 13 Sep, 2001 1 commit
  10. 12 Sep, 2001 3 commits
  11. 07 Sep, 2001 8 commits
    • Jeremy Hylton's avatar
      Merge in zeo-1_0-branch · cfa60a7a
      Jeremy Hylton authored
      cfa60a7a
    • Jeremy Hylton's avatar
      Merge in zeo-1_0-branch · 4dfb633e
      Jeremy Hylton authored
      Remove Python 2.x-isms so that tests run under Python 1.5.2
      4dfb633e
    • Jeremy Hylton's avatar
      Merge in zeo-1_0-branch · fa0582ce
      Jeremy Hylton authored
      Use asyncwrap to call asyncore.loop() and asyncore.poll().
      Add definition for EINTR.
      fa0582ce
    • Jeremy Hylton's avatar
      Merge in zeo-1_0-branch · 04e2ef59
      Jeremy Hylton authored
      Shorten two long lines, one by wrapping, another by removing an
      unnecessary tuple unpacking.
      04e2ef59
    • Jeremy Hylton's avatar
      Merge in zeo-1_0-branch · ef2ab695
      Jeremy Hylton authored
      Wrap send() and recv() calls in try/except
      
      The try/except catches errors like EAGAIN that indicate transient
      failures.  In those cases, treat as send() and recv() of no data and
      return from method gracefully.
      ef2ab695
    • Jeremy Hylton's avatar
      Merge in zeo-1_0-branch · 52b8c629
      Jeremy Hylton authored
      Fixed a bug in building undo invalidation info that caused client
      storages to raise an exception that caused connections to be reset
      and that, for some of reason, caused undo's to not propigate to
      the clients.
      
      Avoid long delays at the end of a pack.
      
          When a client calls pack, a separate thread is started to call the
          pack call on the storage.  When the thread finishes, it calls
          message_output() to send a response to the client.  If asyncore is
          currently in a poll call when this happens, the output won't be
          detected until the next poll call.  If there is little I/O on the
          connection, this won't happen until the select call times out
          after 30 seconds.
      
          The trigger is the standard gimmick for one thread to notify a
          mainloop in another thread that the first thread has some I/O to
          do.  It exits the current select.  The next poll call detects that
          the triggering thread is ready to do I/O and handles it.
      
      Use asyncwrap to call asyncore.loop() and asyncore.poll()
      52b8c629
    • Jeremy Hylton's avatar
      Merge in zeo-1_0-branch · 67e905c9
      Jeremy Hylton authored
      Don't release the commit lock unless there is a transaction in
      progress.  This appears to cause the "release unlocked lock" error to
      be replaced with a socket.error: "bad file descriptor".  That's
      progress?
      67e905c9
    • Jeremy Hylton's avatar
      New file from zeo-1_0-branch. · 4545308c
      Jeremy Hylton authored
      Wrap asyncore calls and be careful about exceptions.
      4545308c
  12. 06 Sep, 2001 1 commit
  13. 04 Sep, 2001 2 commits
  14. 01 Sep, 2001 1 commit