1. 01 Jan, 2004 1 commit
  2. 31 Dec, 2003 4 commits
    • Jeremy Hylton's avatar
      Fix bug that prevented ZEO from working with Python 2.4. · 64537aa4
      Jeremy Hylton authored
      Connection initialized _map as a dict containing a single entry
      mapping the connection's fileno to the connection.  That was a misuse
      of the _map variable, which is also used by the asyncore.dispatcher
      base class to indicate whether the dispatcher users the default
      socket_map or a custom socket_map.  A recent change to asyncore caused
      it to use _map in its add_channel() and del_channel() methods, which
      presumes to be a bug fix (may get ported to 2.3).  That causes our
      dubious use of _map to be a problem, because we also put the
      Connections in the global socket_map.  The new asyncore won't remove
      it from the global socket map, because it has a custom _map.
      
      Also change a bunch of 0/1s to False/Trues.
      64537aa4
    • Fred Drake's avatar
      move more of the handling of log cycling into zLOG, allowing · 61f5d021
      Fred Drake authored
      applications to know less about how this is implemented
      61f5d021
    • Fred Drake's avatar
      remove unused import · 4203f7df
      Fred Drake authored
      4203f7df
    • Jeremy Hylton's avatar
      Split assert into two parts, checking for None in second part. · e9a3e930
      Jeremy Hylton authored
      The comment indicated that end could be None, and I've fleshed out the
      comment with more detail.
      e9a3e930
  3. 30 Dec, 2003 5 commits
  4. 29 Dec, 2003 9 commits
  5. 27 Dec, 2003 1 commit
  6. 26 Dec, 2003 3 commits
  7. 25 Dec, 2003 1 commit
  8. 24 Dec, 2003 1 commit
  9. 23 Dec, 2003 2 commits
  10. 22 Dec, 2003 1 commit
  11. 19 Dec, 2003 3 commits
  12. 18 Dec, 2003 1 commit
  13. 17 Dec, 2003 1 commit
    • Jeremy Hylton's avatar
      Patch from kiko: Remember has_mac value across handle_read() calls. · fee12092
      Jeremy Hylton authored
      The presence or absence of a mac bit is really part of the persistent
      state of SizedMessageAsyncConnection.  If state is True when
      handle_read() is entered, we get into the code to check the mac and
      process the message without testing whether a mac is present.
      
      I wish there was a test for this, but the code it's very difficult to
      setup a test that calls handle_read() in just the right state.  A good
      project, but not one I'm up for now.
      fee12092
  14. 15 Dec, 2003 5 commits
  15. 11 Dec, 2003 2 commits
    • Jeremy Hylton's avatar
      missing decref · 936a7d46
      Jeremy Hylton authored
      936a7d46
    • Jeremy Hylton's avatar
      Ignore descriptors in persistent_id() calls. · a608e3bb
      Jeremy Hylton authored
      Apparent fix for the bug Sidnei reported today.  He didn't have a
      simple test case, rather reported that starting Zope with Formulator
      caused a crash.  I think this will fix the problem.
      
      We had to do the same thing in Python code in ZODB4, but weren't
      worrying about performance there.
      a608e3bb