An error occurred fetching the project authors.
  1. 09 Jun, 2002 2 commits
    • Tim Peters's avatar
      Fix for http://collector.zope.org/Zope/419, · f6a898f9
      Tim Peters authored
      "BTreeItems slice contains 1 too many elements"
      This also fixes many related glitches, such as that giving an
      out-of-bound slice index raised IndexError instead of clipping.
      
      BTreeItems_slice():  Emulate Python slicing semantics in all cases.
      
      testBTrees.py:  new testSlicing() tests in MappingBase and NormalSetTests
      to ensure that slicing of .keys()/.items()/.values() works exactly the
      same way as slicing of Python lists, in all one-sided, two-sided and
      whole-structure ([:]) cases, with both negative and positive slice indices,
      and mixtures of + and -, and whether in bounds or out of bounds.
      f6a898f9
    • Tim Peters's avatar
      Trimmed trailing whitespace. · 918da832
      Tim Peters authored
      918da832
  2. 31 May, 2002 1 commit
  3. 30 May, 2002 2 commits
  4. 28 May, 2002 1 commit
  5. 11 Feb, 2002 1 commit
  6. 25 Jan, 2002 1 commit
    • Guido van Rossum's avatar
      Fix a problem I saw when some tests here failed: there's a pattern in · ec6c4a89
      Guido van Rossum authored
      the code
      
          try:
              root = self._getRoot()
              ...
          except:
              self._closeDB(root)
      	self._delDB()
      	raise
      
      which fails with an UnboundLocalError if the first line in the try
      clause fails.  Fixed this by setting 'root = None' before each such
      try clause, and adding a None check to _closeDB().  Also removed a
      useless 'root = None' from the body of _closeDB().
      
      Barry: I saw this in the saz 1.0c1 release.  Is it worth backporting?
      Probably not given that we're not going to do a merge pre-1.0.
      ec6c4a89
  7. 21 Dec, 2001 1 commit
  8. 20 Dec, 2001 1 commit
  9. 28 Nov, 2001 1 commit
  10. 19 Oct, 2001 1 commit
  11. 20 Sep, 2001 1 commit
  12. 04 Sep, 2001 1 commit
  13. 14 Aug, 2001 1 commit
  14. 07 Aug, 2001 1 commit
  15. 06 Aug, 2001 2 commits
  16. 03 Aug, 2001 1 commit
  17. 15 Mar, 2001 1 commit
  18. 17 Feb, 2001 1 commit
  19. 16 Feb, 2001 3 commits
  20. 15 Feb, 2001 1 commit
  21. 08 Feb, 2001 1 commit
  22. 07 Feb, 2001 1 commit
  23. 06 Feb, 2001 2 commits
  24. 05 Feb, 2001 1 commit
  25. 04 Feb, 2001 1 commit
  26. 01 Feb, 2001 1 commit
  27. 23 Jan, 2001 1 commit