1. 19 Dec, 2002 1 commit
    • Guido van Rossum's avatar
      Backport two fixes to testSplitterLocaleAwareness() from the Zope 3 · d2e5544e
      Guido van Rossum authored
      version:
      
      - If the setlocale() call fails, don't fail the test -- just skip it
        silently.  XXX This is not ideal, but what else can we do?  Locale
        names are not standardized; the test fails on Mac OSX, and
        apparently on older Linux versions (e.g. my Mandrake 8.1).
      
      - Don't use non-ASCII literals; use \xXX escapes.
      d2e5544e
  2. 18 Dec, 2002 2 commits
  3. 17 Dec, 2002 7 commits
  4. 16 Dec, 2002 17 commits
  5. 13 Dec, 2002 2 commits
    • Barry Warsaw's avatar
      Pass the final crop of ZEO and restore tests. Changes include: · c6ebcedf
      Barry Warsaw authored
      _dorestore(): Adopt the FileStorage semantics for when the transaction
      pointed to by prev_txn does not exist.  This can happen if we're
      restoring to a storage where that transaction has been packed away.
      In that case, treat prev_txn as a hint and ignore it. :)
      
      _TransactionsIterator.__len__(): Give this a dummy (and lying)
      implementation which is just good enough for Python 2.1.3 support.
      c6ebcedf
    • Andreas Jung's avatar
      removed unused imports · a675bdb0
      Andreas Jung authored
      a675bdb0
  6. 12 Dec, 2002 1 commit
  7. 11 Dec, 2002 2 commits
  8. 10 Dec, 2002 4 commits
  9. 09 Dec, 2002 2 commits
    • Casey Duncan's avatar
      Remove import added for testing · 471b053f
      Casey Duncan authored
      471b053f
    • Casey Duncan's avatar
      More sorting improvements: · e45028f3
      Casey Duncan authored
      * Changed logic for activating first sort algorithm to elminate bad performance with large result sets (20k+). The full sort is now faster for a larger proportion of cases. This algorithm is also skipped now if a sort limit value is passed.
      
      * Full sort now handles sort limits where the limit is 25% or greater of the total result where N-Best performance degrades. This allows the application to always apply a sort limit up to and beyond the result set length.
      
      * Added an "N-worst" sort handler to deal with forward sort limits (previously only reverse limits worked properly).
      
      * Small optimizations to N-best/worst to wring out a few more CPU cycles.
      e45028f3
  10. 06 Dec, 2002 2 commits