1. 14 Jan, 2004 2 commits
    • Jeremy Hylton's avatar
      Revise interface between ExportImport and Connection. · d9c7eca5
      Jeremy Hylton authored
      The Connection class inherits from the ExportImport mixin, but they
      had an arm's length interaction.  Restructure the code to provide
      direct interaction via the _import attribute.
      
      Remove the more general onCommitCallback() method.  It was only used
      by ExportImport.
      
      A lot of cosmetic changes to ExportImport:
          - don't make local variables out of attribute lookups
          - avoid local variable names that shadow builtins
          - prefer isinstance() to type comparisons
          - prefer absolute imports to relative imports
      d9c7eca5
    • Jeremy Hylton's avatar
  2. 09 Jan, 2004 5 commits
    • Jeremy Hylton's avatar
      Repair comment. · 1fdc239d
      Jeremy Hylton authored
      1fdc239d
    • Jeremy Hylton's avatar
      Fix bug in quick verification. · 6795ca8f
      Jeremy Hylton authored
      The server was sending all the invalidations from the queue, not just
      the ones that were later than the requested tid.  This didn't affect
      correctness of the cache, but did cause it to throw out valid data.
      
      Add test case to verify that getInvalidations() returns only what is
      expected.
      
      Bug fix candidate.
      6795ca8f
    • Tim Peters's avatar
      ClientThread(): Some of the packing tests still fail in rare & strange · c2c5a344
      Tim Peters authored
      ways, but unittest never notices this because the tests always fail in
      a thread unittest doesn't know anything about.  Changed ClientThread
      to derive from the MTStorage tests' TestThread, which arranges to re-raise
      a thread-death exception in the main thread.  Tested "by hand", via
      temporarily forcing fatal thread exceptions in all the Pack[Now]WhileWriting
      tests; unittest did notice those now.  So, when this happens again in real
      life, we'll no longer be fooled by test runner reports claiming that
      everything passed, and then frustrated by not even being able to tell
      which test failed (you can't tell from the isolated thread traceback(s)
      wading in the sea of testrunner dot output).
      c2c5a344
    • Tim Peters's avatar
    • Jeremy Hylton's avatar
      Remove a bunch of old files. · dae7def0
      Jeremy Hylton authored
      dae7def0
  3. 08 Jan, 2004 4 commits
  4. 07 Jan, 2004 3 commits
  5. 06 Jan, 2004 14 commits
  6. 05 Jan, 2004 8 commits
  7. 02 Jan, 2004 4 commits