1. 10 Eyl, 2007 1 kayıt (commit)
  2. 28 Agu, 2007 1 kayıt (commit)
    • Thomas Wouters's avatar
      Improve extended slicing support in builtin types and classes. Specifically: · 3ccec68a
      Thomas Wouters yazdı
       - Specialcase extended slices that amount to a shallow copy the same way as
         is done for simple slices, in the tuple, string and unicode case.
      
       - Specialcase step-1 extended slices to optimize the common case for all
         involved types.
      
       - For lists, allow extended slice assignment of differing lengths as long
         as the step is 1. (Previously, 'l[:2:1] = []' failed even though
         'l[:2] = []' and 'l[:2:None] = []' do not.)
      
       - Implement extended slicing for buffer, array, structseq, mmap and
         UserString.UserString.
      
       - Implement slice-object support (but not non-step-1 slice assignment) for
         UserString.MutableString.
      
       - Add tests for all new functionality.
      3ccec68a
  3. 04 Eki, 2006 1 kayıt (commit)
    • Armin Rigo's avatar
      Forward-port of r52136,52138: a review of overflow-detecting code. · 7ccbca93
      Armin Rigo yazdı
      * unified the way intobject, longobject and mystrtoul handle
        values around -sys.maxint-1.
      
      * in general, trying to entierely avoid overflows in any computation
        involving signed ints or longs is extremely involved.  Fixed a few
        simple cases where a compiler might be too clever (but that's all
        guesswork).
      
      * more overflow checks against bad data in marshal.c.
      
      * 2.5 specific: fixed a number of places that were still confusing int
        and Py_ssize_t.  Some of them could potentially have caused
        "real-world" breakage.
      
      * list.pop(x): fixing overflow issues on x was messy.  I just reverted
        to PyArg_ParseTuple("n"), which does the right thing.  (An obscure
        test was trying to give a Decimal to list.pop()... doesn't make
        sense any more IMHO)
      
      * trying to write a few tests...
      7ccbca93
  4. 21 Agu, 2005 1 kayıt (commit)
  5. 21 Mar, 2005 1 kayıt (commit)
  6. 30 Eyl, 2004 1 kayıt (commit)
  7. 29 Eyl, 2004 1 kayıt (commit)
  8. 13 Agu, 2004 1 kayıt (commit)
  9. 18 Ock, 2004 1 kayıt (commit)
  10. 08 Ara, 2003 1 kayıt (commit)