1. 22 Eki, 2011 1 kayıt (commit)
  2. 11 Eki, 2010 1 kayıt (commit)
  3. 09 May, 2010 2 kayıt (commit)
  4. 25 Mar, 2010 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. 26 May, 2008 1 kayıt (commit)
  8. 16 Şub, 2008 1 kayıt (commit)
    • Amaury Forgeot d'Arc's avatar
      Crashers of the day: Py_CLEAR must be used when there is a chance that the · 588ff93f
      Amaury Forgeot d'Arc yazdı
      function can be called recursively.
      This was discussed in issue1020188.
      
      In python codebase, all occurrences of Py_[X]DECREF(xxx->yyy) are suspect,
      except when they appear in tp_new or tp_dealloc functions, or when
      the member cannot be of a user-defined class.
      Note that tp_init is not safe.
      
      I do have a (crashing) example for every changed line.
      Is it worth adding them to the test suite?
      
      Example:
      
      class SpecialStr(str):
          def __del__(self):
              s.close()
      
      import cStringIO
      s = cStringIO.StringIO(SpecialStr("text"))
      s.close() # Segfault
      588ff93f
  9. 14 Şub, 2008 1 kayıt (commit)
  10. 19 Ara, 2007 1 kayıt (commit)
  11. 08 Agu, 2007 4 kayıt (commit)
  12. 21 Tem, 2007 1 kayıt (commit)
  13. 25 Nis, 2007 1 kayıt (commit)
  14. 21 Nis, 2007 1 kayıt (commit)
  15. 19 Kas, 2006 1 kayıt (commit)
  16. 18 Eki, 2006 2 kayıt (commit)
  17. 12 Eki, 2006 2 kayıt (commit)
  18. 30 Mar, 2006 1 kayıt (commit)
  19. 15 Mar, 2006 1 kayıt (commit)
  20. 07 Mar, 2006 1 kayıt (commit)
  21. 01 Mar, 2006 2 kayıt (commit)
  22. 16 Şub, 2006 1 kayıt (commit)
  23. 15 Şub, 2006 1 kayıt (commit)
  24. 19 Ock, 2006 1 kayıt (commit)
  25. 10 Ara, 2005 1 kayıt (commit)
    • Jeremy Hylton's avatar
      Add const to several API functions that take char *. · af68c874
      Jeremy Hylton yazdı
      In C++, it's an error to pass a string literal to a char* function
      without a const_cast().  Rather than require every C++ extension
      module to put a cast around string literals, fix the API to state the
      const-ness.
      
      I focused on parts of the API where people usually pass literals:
      PyArg_ParseTuple() and friends, Py_BuildValue(), PyMethodDef, the type
      slots, etc.  Predictably, there were a large set of functions that
      needed to be fixed as a result of these changes.  The most pervasive
      change was to make the keyword args list passed to
      PyArg_ParseTupleAndKewords() to be a const char *kwlist[].
      
      One cast was required as a result of the changes:  A type object
      mallocs the memory for its tp_doc slot and later frees it.
      PyTypeObject says that tp_doc is const char *; but if the type was
      created by type_new(), we know it is safe to cast to char *.
      af68c874
  26. 22 Eyl, 2005 1 kayıt (commit)
  27. 21 Agu, 2004 1 kayıt (commit)
    • Tim Peters's avatar
      Patch 1012740: cStringIO's truncate doesn't · 037b3ee4
      Tim Peters yazdı
      truncate() left the stream position unchanged, which meant the
      "truncated" data didn't go away:
      
      >>> io.write('abc')
      >>> io.truncate(0)
      >>> io.write('xyz')
      >>> io.getvalue()
      'abcxyz'
      
      Patch by Dima Dorfman.
      037b3ee4
  28. 27 Haz, 2004 1 kayıt (commit)
  29. 08 Mar, 2004 1 kayıt (commit)
    • Raymond Hettinger's avatar
      SF patch #907403: Improvements to cStringIO.writelines() · 6ec09965
      Raymond Hettinger yazdı
      The writelines() method now accepts any iterable argument and writes
      the lines one at a time rather than using ''.join(lines) followed by
      a single write.  Results in considerable memory savings and makes
      the method suitable for use with generator expressions.
      6ec09965
  30. 27 Şub, 2004 1 kayıt (commit)
  31. 12 Eki, 2003 1 kayıt (commit)
  32. 11 Agu, 2003 2 kayıt (commit)