- 09 May, 2010 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
-
- 09 Haz, 2008 1 kayıt (commit)
-
-
Gregory P. Smith yazdı
http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
-
- 26 May, 2008 1 kayıt (commit)
-
-
Christian Heimes yazdı
-
- 14 May, 2008 1 kayıt (commit)
-
-
Brett Cannon yazdı
-
- 19 Ock, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Probably should be backported.
-
- 27 Nis, 2002 1 kayıt (commit)
-
-
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.
-
- 02 Nis, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Please review.
-
- 31 Mar, 2002 1 kayıt (commit)
-
-
Neal Norwitz yazdı
These should be safe.
-
- 17 Ock, 2002 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 08 Ara, 2001 1 kayıt (commit)
-
-
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.
-
- 01 Eyl, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
- 21 Tem, 2000 1 kayıt (commit)
-
-
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 ;)
-
- 30 Haz, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 03 May, 2000 1 kayıt (commit)
-
-
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.)
-
- 08 Eki, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 01 Eki, 1997 1 kayıt (commit)
-
-
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!
-
- 12 Agu, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 17 Ock, 1997 1 kayıt (commit)
-
-
Roger E. Masse yazdı
-
- 05 Ara, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 25 Eki, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 17 May, 1995 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
Also added Irix 5.3 constants.
-
- 04 Ock, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Setup.in: clarified Tk comments somewhat. structmodule.c: use memcpy() instead of double precision assignment.
-
- 01 Agu, 1994 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 03 Agu, 1993 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
* frameobject.c (newframeobject): initialize ob_type if taking entry from the free list, since it is zeroed out when DEBUG is defined.
-
- 16 Mar, 1993 1 kayıt (commit)
-
-
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.
-
- 17 Şub, 1993 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
accordingly: SetMin, SetMax, SetDefault are no longer methods of the compressor/decompressor but are functions of the cl module and they take a first argument which is a compression scheme
-
- 16 Şub, 1993 1 kayıt (commit)
-
-
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
-
- 04 Şub, 1993 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
aifc.py: Several small improvements. Use new methods from CL module.
-
- 14 Ara, 1992 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
-
- 29 Eyl, 1992 1 kayıt (commit)
-
-
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
-
- 25 Eyl, 1992 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
-
- 24 Eyl, 1992 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
and higher. Made a few improvements to previous version.
-
- 23 Eyl, 1992 1 kayıt (commit)
-
-
Sjoerd Mullender yazdı
-