An error occurred fetching the project authors.
  1. 01 Apr, 2004 1 commit
    • Jeremy Hylton's avatar
      Merge the jeremy-txn-branch to the head. · 860e89b9
      Jeremy Hylton authored
      This branch introduces a new transaction API.  The key features are:
        - top-level functions in transaction -- get(), commit(), abort()
        - explicit transaction manager objects
        - Transaction objects are used for exactly one transaction
        - support for transaction synchronizers
      
      The changes here are still provisional, but we want to get them off an
      obscure branch and onto the head for further development.
      860e89b9
  2. 27 Feb, 2004 1 commit
  3. 24 Dec, 2003 1 commit
  4. 12 Nov, 2003 1 commit
  5. 03 Nov, 2003 1 commit
  6. 02 Oct, 2003 1 commit
  7. 15 Sep, 2003 1 commit
  8. 02 May, 2003 1 commit
  9. 22 Apr, 2003 1 commit
  10. 08 Apr, 2003 1 commit
  11. 17 Mar, 2003 2 commits
  12. 03 Jan, 2003 2 commits
  13. 06 Dec, 2002 1 commit
  14. 02 Dec, 2002 1 commit
  15. 18 Nov, 2002 1 commit
  16. 15 Nov, 2002 1 commit
  17. 30 Oct, 2002 1 commit
  18. 24 Oct, 2002 1 commit
  19. 14 Aug, 2002 1 commit
  20. 08 Aug, 2002 1 commit
    • Jeremy Hylton's avatar
      Refactor test cleanup to use removefs() helper function. · 46d79eae
      Jeremy Hylton authored
      StorageTestBase.removefs() will attempt to remove files with all the
      possible extensions that FileStorage will create.  It will raise
      os.error for any error except ENOENT.
      
      Remove many variants of removefs() implemented in the various test
      suites.
      46d79eae
  21. 22 Apr, 2002 1 commit
  22. 25 Jan, 2002 2 commits
    • Jeremy Hylton's avatar
    • Guido van Rossum's avatar
      Commit changes from the short-lived "Recovery" branch to the trunk. · 6c7d0c42
      Guido van Rossum authored
      Highlights:
      
      BaseStorage.py:
      
      Fix copyTransactionsFrom() when commitVersion(), abortVersion() or
      transactionalUndo() is used.
      
      FileStorage.py:
      
      Add restore() method, which can store data records corresponding to
      undo or version manipulations; add close() method to FileIterator
      class; raise POSKeyError instead of KeyError for bad keys, to ensure
      safe formatting of transaction ids (binary strings) in tracebacks.
      
      POSException.py:
      
      Add POSKeyError.
      
      fsdump.py:
      
      Deal with records indicating the undo or abort of a version doing
      object creation.
      
      tests/IteratorStorage.py:
      
      New unittests for the iterator() method and interface of the
      storage API; new unit tests for extended file iterators; new class,
      IteratorDeepCompare; test of the iterator .close() method.
      
      tests/testFileStorage.py:
      
      Add class FileStorageRecoveryTest, which adds two simple tests for
      copyTransactionsFrom().  This indirectly tests the new restore()
      method.
      6c7d0c42
  23. 21 Jan, 2002 1 commit
  24. 19 Oct, 2001 1 commit
  25. 05 Oct, 2001 1 commit
  26. 04 Oct, 2001 2 commits
  27. 12 Sep, 2001 1 commit
  28. 14 Jun, 2001 1 commit
  29. 18 May, 2001 1 commit
  30. 02 May, 2001 1 commit
    • Jeremy Hylton's avatar
      Fix tests to work correctly with conflict resolution. · 58cfe930
      Jeremy Hylton authored
      Add new tests for conflict resolution.
      
      The old blanket try-except for conflict resolution was hiding some
      bugs caused by the pickles used in the test suite.  The conflict
      resolution code imposes some restrictions on the format of pickles.
      Basically, the conflict resolution requires that the storage API only
      accept a pickles that constructed according to the ZODB rules.
      
      XXX This new restriction sounds unfortunate, but it would require a
      substantial change to conflict resolution to remove it.
      
      The key changes to the test suite are to store only persistent objects
      and to format the pickles using the standard ZODB format.  All tests
      now use ZODB.tests.MinPO.MinPO instances for data.  The pickling is
      down with zodb_pickle() and zodb_unpickle() defined in
      StorageTestBase.
      
      Add conflict resolution tests to testFileStorage.  (They pass.)
      58cfe930
  31. 01 May, 2001 1 commit
  32. 20 Apr, 2001 1 commit
  33. 12 Apr, 2001 2 commits
  34. 10 Apr, 2001 1 commit