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. · c8dc49bd
      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.
      c8dc49bd
    • Fred Drake's avatar
      move more of the handling of log cycling into zLOG, allowing · 133884f0
      Fred Drake authored
      applications to know less about how this is implemented
      133884f0
    • Fred Drake's avatar
      remove unused import · 1a6e7b92
      Fred Drake authored
      1a6e7b92
    • Jeremy Hylton's avatar
      Split assert into two parts, checking for None in second part. · a8e99d0d
      Jeremy Hylton authored
      The comment indicated that end could be None, and I've fleshed out the
      comment with more detail.
      a8e99d0d
  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. · a0d97c9c
      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.
      a0d97c9c
  14. 15 Dec, 2003 5 commits
  15. 11 Dec, 2003 2 commits
    • Jeremy Hylton's avatar
      missing decref · cb49ab0e
      Jeremy Hylton authored
      cb49ab0e
    • Jeremy Hylton's avatar
      Ignore descriptors in persistent_id() calls. · b87627a0
      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.
      b87627a0