1. 16 Mar, 2004 3 commits
  2. 15 Mar, 2004 1 commit
  3. 13 Mar, 2004 3 commits
    • Jeremy Hylton's avatar
      Revise Connection. · 326ff391
      Jeremy Hylton authored
      Make _added_during_commit a regular instance variable.  Don't use
      try/finally to reset it; just clear it at the start of a transaction.
      XXX There was a test that needed to be removed, but it seemed to be
      just a shallow test that try/finally was used.  Can't see any feature
      that depends on specific of error handling: The txn is going to abort.
      
      Remove unused _opened instance variable.
      Split commit() into two smaller parts.
      Get rid of extra manipulation of _creating.
      Don't look for _p_serial of None; z64 is now required.
      Undo local variable aliases in subtransaction methods.
      
      Also, trivial change to pickle cache API -- get() works like dict get().
      326ff391
    • Jeremy Hylton's avatar
      Consistent formatting. · 982055e6
      Jeremy Hylton authored
      982055e6
    • Tim Peters's avatar
      New (but disabled for now) test checkPackLotsWhileWriting reliably dies · 4a6f51c1
      Tim Peters authored
      with
      
          CorruptedError:  ... transaction with checkpoint flag set
      
      on my box when doing the ZEO flavor of FileStorage.  This is like the
      other pack-while-writing tests, but uses only 1 client thread that does
      twice as much, and packs repeatedly for so long as that thread runs.  I
      usually see it fail before the fourth pack attempt.
      4a6f51c1
  4. 12 Mar, 2004 17 commits
  5. 11 Mar, 2004 6 commits
  6. 08 Mar, 2004 1 commit
    • Tim Peters's avatar
      ZODBDatabase.open(): if the call to ZODB.DB() fails (== raises an · b4902e1c
      Tim Peters authored
      exception), explicitly close the storage passed to it, then re-raise
      the exception.  Otherwise the storage remains open.  Turns out that
      accounted for why test_zeo_config left a ConnectThread daemon thread
      running (Zope3's test.py has been pointing that out for a loooong time).
      b4902e1c
  7. 06 Mar, 2004 1 commit
  8. 05 Mar, 2004 1 commit
  9. 04 Mar, 2004 6 commits
  10. 03 Mar, 2004 1 commit
    • Jeremy Hylton's avatar
      Restructure relationship between persistent.txt and test_persistent.py. · f571af39
      Jeremy Hylton authored
      Move some of the test framework code from .py to .txt, and add a more
      detailed comment at the top about the contract between .txt and the
      .py file that uses it.
      
      Move the interface test into .txt.  I guess it's not so bad.
      
      Change some tests that displayed the contents of __dict__.  Other
      persistent implementations may have extra state in __dict__.
      
      Remove B, it is unused.
      
      Change DocFileSuite() to accept an explicit set of globals.
      
      Remove the pickling/P2 test, because it was too hard to make work with
      the framework.  Include comment explaining how such a test should be
      added.
      f571af39