1. 03 Aug, 2004 6 commits
  2. 02 Aug, 2004 27 commits
  3. 01 Aug, 2004 5 commits
  4. 31 Jul, 2004 2 commits
    • Tim Peters's avatar
      list_ass_slice(): Document the obscure new intent that deleting a slice · 8fc4a916
      Tim Peters authored
      of no more than 8 elements cannot fail.
      
      listpop():  Take advantage of that its calls to list_resize() and
      list_ass_slice() can't fail.  This is assert'ed in a debug build now, but
      in an icky way.  That is, you can't say:
      
      	assert(some_call() >= 0);
      
      because then some_call() won't occur at all in a release build.  So it
      has to be a big pile of #ifdefs on Py_DEBUG (yuck), or the pleasant:
      
              status = some_call();
              assert(status >= 0);
      
      But in that case, compilers may whine in a release build, because status
      appears unused then.  I'm not certain the ugly trick I used here will
      convince all compilers to shut up about status (status is always "used" now,
      as the first (ignored) clause in a comma expression).
      8fc4a916
    • Tim Peters's avatar
      Whitespace normalization. · c0cbc861
      Tim Peters authored
      c0cbc861