1. 02 Şub, 2009 1 kayıt (commit)
  2. 03 Ara, 2008 1 kayıt (commit)
  3. 04 Eki, 2008 1 kayıt (commit)
  4. 15 Tem, 2008 1 kayıt (commit)
  5. 11 Haz, 2008 1 kayıt (commit)
    • Gregory P. Smith's avatar
      Merge in release25-maint r60793: · 9d53457e
      Gregory P. Smith yazdı
       Added checks for integer overflows, contributed by Google. Some are
       only available if asserts are left in the code, in cases where they
       can't be triggered from Python code.
      9d53457e
  6. 09 Haz, 2008 1 kayıt (commit)
  7. 01 Haz, 2008 2 kayıt (commit)
  8. 26 May, 2008 1 kayıt (commit)
  9. 27 Nis, 2008 2 kayıt (commit)
  10. 25 Mar, 2008 1 kayıt (commit)
  11. 19 Mar, 2008 1 kayıt (commit)
  12. 18 Mar, 2008 1 kayıt (commit)
  13. 24 Şub, 2008 1 kayıt (commit)
  14. 08 Şub, 2008 1 kayıt (commit)
  15. 07 Şub, 2008 1 kayıt (commit)
  16. 06 Şub, 2008 1 kayıt (commit)
  17. 25 Ock, 2008 2 kayıt (commit)
  18. 19 Ara, 2007 1 kayıt (commit)
  19. 15 Ara, 2007 1 kayıt (commit)
  20. 06 Ara, 2007 1 kayıt (commit)
    • Raymond Hettinger's avatar
      Fix Issue 1045. · 4e2f7140
      Raymond Hettinger yazdı
      Factor-out common calling code by simplifying the length_hint API.
      Speed-up the function by caching the PyObject_String for the attribute lookup.
      4e2f7140
  21. 05 Ara, 2007 1 kayıt (commit)
  22. 22 Kas, 2007 1 kayıt (commit)
  23. 17 Eki, 2007 1 kayıt (commit)
  24. 17 Eyl, 2007 1 kayıt (commit)
  25. 10 Eyl, 2007 1 kayıt (commit)
  26. 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
  27. 21 Tem, 2007 1 kayıt (commit)
  28. 25 Şub, 2007 1 kayıt (commit)
    • Neal Norwitz's avatar
      Variation of patch # 1624059 to speed up checking if an object is a subclass · ee3a1b52
      Neal Norwitz yazdı
      of some of the common builtin types.
      
      Use a bit in tp_flags for each common builtin type.  Check the bit
      to determine if any instance is a subclass of these common types.
      The check avoids a function call and O(n) search of the base classes.
      The check is done in the various Py*_Check macros rather than calling
      PyType_IsSubtype().
      
      All the bits are set in tp_flags when the type is declared
      in the Objects/*object.c files because PyType_Ready() is not called
      for all the types.  Should PyType_Ready() be called for all types?
      If so and the change is made, the changes to the Objects/*object.c files
      can be reverted (remove setting the tp_flags).  Objects/typeobject.c
      would also have to be modified to add conditions
      for Py*_CheckExact() in addition to each the PyType_IsSubtype check.
      ee3a1b52
  29. 19 Kas, 2006 1 kayıt (commit)
  30. 28 Eki, 2006 1 kayıt (commit)
  31. 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
  32. 19 Agu, 2006 1 kayıt (commit)
  33. 12 Agu, 2006 2 kayıt (commit)
  34. 12 Haz, 2006 1 kayıt (commit)
  35. 15 Nis, 2006 2 kayıt (commit)