1. 09 May, 2010 1 kayıt (commit)
  2. 09 Haz, 2008 1 kayıt (commit)
  3. 26 May, 2008 1 kayıt (commit)
  4. 14 May, 2008 1 kayıt (commit)
  5. 19 Ock, 2006 1 kayıt (commit)
  6. 27 Nis, 2002 1 kayıt (commit)
    • Tim Peters's avatar
      Repair widespread misuse of _PyString_Resize. Since it's clear people · 5de9842b
      Tim Peters yazdı
      don't understand how this function works, also beefed up the docs.  The
      most common usage error is of this form (often spread out across gotos):
      
      	if (_PyString_Resize(&s, n) < 0) {
      		Py_DECREF(s);
      		s = NULL;
      		goto outtahere;
      	}
      
      The error is that if _PyString_Resize runs out of memory, it automatically
      decrefs the input string object s (which also deallocates it, since its
      refcount must be 1 upon entry), and sets s to NULL.  So if the "if"
      branch ever triggers, it's an error to call Py_DECREF(s):  s is already
      NULL!  A correct way to write the above is the simpler (and intended)
      
      	if (_PyString_Resize(&s, n) < 0)
      		goto outtahere;
      
      Bugfix candidate.
      5de9842b
  7. 02 Nis, 2002 1 kayıt (commit)
  8. 31 Mar, 2002 1 kayıt (commit)
  9. 17 Ock, 2002 1 kayıt (commit)
  10. 08 Ara, 2001 1 kayıt (commit)
    • Guido van Rossum's avatar
      Patch supplied by Burton Radons for his own SF bug #487390: Modifying · 14648396
      Guido van Rossum yazdı
      type.__module__ behavior.
      
      This adds the module name and a dot in front of the type name in every
      type object initializer, except for built-in types (and those that
      already had this).  Note that it touches lots of Mac modules -- I have
      no way to test these but the changes look right.  Apologies if they're
      not.  This also touches the weakref docs, which contains a sample type
      object initializer.  It also touches the mmap test output, because the
      mmap type's repr is included in that output.  It touches object.h to
      put the correct description in a comment.
      14648396
  11. 01 Eyl, 2000 1 kayıt (commit)
  12. 21 Tem, 2000 1 kayıt (commit)
    • Thomas Wouters's avatar
      Bunch of minor ANSIfications: 'void initfunc()' -> 'void initfunc(void)', · f3f33dcf
      Thomas Wouters yazdı
      and a couple of functions that were missed in the previous batches. Not
      terribly tested, but very carefully scrutinized, three times.
      
      All these were found by the little findkrc.py that I posted to python-dev,
      which means there might be more lurking. Cases such as this:
      
      long
      func(a, b)
      	long a;
      	long b; /* flagword */
      {
      
      and other cases where the last ; in the argument list isn't followed by a
      newline and an opening curly bracket. Regexps to catch all are welcome, of
      course ;)
      f3f33dcf
  13. 30 Haz, 2000 2 kayıt (commit)
  14. 03 May, 2000 1 kayıt (commit)
    • Guido van Rossum's avatar
      Vladimir Marangozov's long-awaited malloc restructuring. · b18618da
      Guido van Rossum yazdı
      For more comments, read the patches@python.org archives.
      For documentation read the comments in mymalloc.h and objimpl.h.
      
      (This is not exactly what Vladimir posted to the patches list; I've
      made a few changes, and Vladimir sent me a fix in private email for a
      problem that only occurs in debug mode.  I'm also holding back on his
      change to main.c, which seems unnecessary to me.)
      b18618da
  15. 08 Eki, 1997 1 kayıt (commit)
  16. 01 Eki, 1997 1 kayıt (commit)
    • Guido van Rossum's avatar
      Apply two changes, systematically: · 0cb96de2
      Guido van Rossum yazdı
      (1) Use PyErr_NewException("module.class", NULL, NULL) to create the
          exception object.
      
      (2) Remove all calls to Py_FatalError(); instead, return or
          ignore the errors -- the import code now checks PyErr_Occurred()
          after calling a module's init function, so it's no longer a
          fatal error for the initialization to fail.
      
      Also did some small cleanups, e.g. removed unnecessary test for
      "already initialized" from initfpectl(), and unified
      initposix()/initnt().
      
      I haven't checked this very thoroughly, so while the changes are
      pretty trivial -- beware of untested code!
      0cb96de2
  17. 12 Agu, 1997 1 kayıt (commit)
  18. 17 Ock, 1997 1 kayıt (commit)
  19. 05 Ara, 1996 1 kayıt (commit)
  20. 25 Eki, 1996 1 kayıt (commit)
  21. 17 May, 1995 1 kayıt (commit)
  22. 04 Ock, 1995 1 kayıt (commit)
  23. 01 Agu, 1994 1 kayıt (commit)
  24. 03 Agu, 1993 1 kayıt (commit)
  25. 16 Mar, 1993 1 kayıt (commit)
    • Guido van Rossum's avatar
      * Changed many files to use mkvalue() instead of newtupleobject(). · e537240c
      Guido van Rossum yazdı
      * Fixcprt.py: added [-y file] option, do only files younger than file.
      * modsupport.[ch]: added vmkvalue().
      * intobject.c: use mkvalue().
      * stringobject.c: added "formatstring"; renamed string* to string_*;
        ceval.c: call formatstring for string % value.
      * longobject.c: close memory leak in divmod.
      * parsetok.c: set result node to NULL when returning an error.
      e537240c
  26. 17 Şub, 1993 1 kayıt (commit)
  27. 16 Şub, 1993 1 kayıt (commit)
    • Sjoerd Mullender's avatar
      * clmodule.c: use function prototypes (found and fixed some bugs this · 4e2a4278
      Sjoerd Mullender yazdı
        way); more efficiently check whether parameters are float; removed
        one argument from DecompressImage method; use clGetParam instead of
        clGetParams where it makes sense; convert int parameters in
        SetParams, SetParam, SetMin, SetMax, and SetDefault to float when
        needed; added QuerySchemeFromHandle method
      * Makefile: interchanged cstubs and cgen.py so that $> in rule gets
        them in the right order
      4e2a4278
  28. 04 Şub, 1993 1 kayıt (commit)
  29. 14 Ara, 1992 1 kayıt (commit)
  30. 29 Eyl, 1992 1 kayıt (commit)
    • Sjoerd Mullender's avatar
      Lots of little fixes. · 384f2481
      Sjoerd Mullender yazdı
      - merged CloseCompressor and CloseDecompressor into one function
      - keep existing errors in error function (for exceptions raised in the
        Compress or Decompress callback functions)
      - remove newline from error string generated by error function
      - allocate less memory when compressing multiple frames
      - keep existing errors when clCompress or clDecompress fails
      - raise an exception when compressed data doesn't fit within
        dataMaxSize bytes
      - allocate frameSize bytes for decompression buffer instead of
        dataMaxSize
      - use mkvalue more often
      - new function QueryParams which will accept CL.AUDIO and CL.VIDEO
        args
      - changed some function names
      384f2481
  31. 25 Eyl, 1992 1 kayıt (commit)
  32. 24 Eyl, 1992 1 kayıt (commit)
  33. 23 Eyl, 1992 1 kayıt (commit)