1. 27 May, 2003 3 commits
    • Casey Duncan's avatar
      Refactor PathIndex: · 1014b154
      Casey Duncan authored
        - Exterminate bare excepts
        - Port performance fixes from 2.6 branch
        - Add some comments to questionable areas
        - Simplify where possible
        - Add some spacing for readability (hahahahahah, sorry I crack myself up)
      TODO: Fix inefficient __len__ and numObjects implementations
      1014b154
    • Casey Duncan's avatar
      053276cf
    • Casey Duncan's avatar
      Remove unused import · 8430ae6c
      Casey Duncan authored
      Remove dependancy on PlugInIndexes product by using randint directly to generate rids. randint now works properly with negative number in Python 2.2
      Fix bare except. Simplify python implementation of safe_callable
      8430ae6c
  2. 25 May, 2003 3 commits
  3. 23 May, 2003 4 commits
  4. 19 May, 2003 1 commit
  5. 18 May, 2003 2 commits
  6. 17 May, 2003 1 commit
  7. 15 May, 2003 1 commit
    • Tim Peters's avatar
      testLen(): This test implicitly relied on completing in less than 1 · 26ec18cd
      Tim Peters authored
      second of wall-clock time.  That's plenty, except when, e.g., a
      burst of network activity takes the CPU away for a second.  Jeremy saw
      it fail once yesterday when running Zope-2_6-branch pre-release tests,
      and that was unfortunate timing <wink>.  I found that running it in a loop
      eventually caused a spurious failure whenever I ran it too.
      
      So, in just this test, boosted the timeout by a factor of 60.  This should
      make it astronomically unlikely to fail.  Also sped the test by removing
      unneeded .keys() and .sort() calls.  Also switched from using Python's
      assert stmt to unittest's assertEqual() facility.
      26ec18cd
  8. 14 May, 2003 3 commits
  9. 12 May, 2003 1 commit
    • Tim Peters's avatar
      Collector #892: Misleading error msg when initializing an OIBTree · b404f82a
      Tim Peters authored
      from a dict with a float value.
      
      Mapping_update():  This squashed errors raised by PyObject_SetItem(),
      changing them to a "not a 2-tuple" TypeError instead.  Unclear why, since
      2-tupleness was checked earlier.  Fixed by backporting part of the
      ZODB4 BTree construction code, which doesn't have this problem.  Bonus:
      it's faster now too.
      b404f82a
  10. 09 May, 2003 7 commits
  11. 07 May, 2003 3 commits
  12. 02 May, 2003 2 commits
  13. 28 Apr, 2003 1 commit
  14. 27 Apr, 2003 1 commit
  15. 25 Apr, 2003 2 commits
  16. 24 Apr, 2003 1 commit
  17. 23 Apr, 2003 2 commits
  18. 22 Apr, 2003 2 commits