- 22 Ara, 2008 1 kayıt (commit)
-
-
Benjamin Peterson yazdı
-
- 29 Agu, 2008 1 kayıt (commit)
-
-
Antoine Pitrou yazdı
exception afterwards (for a subsequent parameter), the user code will not call PyBuffer_Release() and memory will leak. Reviewed by Amaury Forgeot d'Arc.
-
- 24 Agu, 2008 1 kayıt (commit)
-
-
Neal Norwitz yazdı
* crashes on memory allocation failure found with failmalloc * memory leaks found with valgrind * compiler warnings in opt mode which would lead to invalid memory reads * problem using wrong name in decimal module reported by pychecker Update the valgrind suppressions file with new leaks that are small/one-time leaks we don't care about (ie, they are too hard to fix). TBR=barry TESTED=./python -E -tt ./Lib/test/regrtest.py -uall (both debug and opt modes) in opt mode: valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \ ./python -E -tt ./Lib/test/regrtest.py -uall,-bsddb,-compiler \ -x test_logging test_ssl test_multiprocessing valgrind -q --leak-check=yes --suppressions=Misc/valgrind-python.supp \ ./python -E -tt ./Lib/test/regrtest.py test_multiprocessing for i in `seq 1 4000` ; do LD_PRELOAD=~/local/lib/libfailmalloc.so FAILMALLOC_INTERVAL=$i \ ./python -c pass done At least some of these fixes should probably be backported to 2.5.
-
- 12 Agu, 2008 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
by denying s# to parse objects that have a releasebuffer procedure, and introducing s*. More module might need to get converted to use s*.
-
- 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ı
-
- 26 Şub, 2008 2 kayıt (commit)
-
-
Christian Heimes yazdı
My tests don't show the promised speed up of 10%. The code is as fast as the old code for simple cases and slightly faster for complex cases with several of args and kwargs. But the patch simplifies the code, too.
-
Neal Norwitz yazdı
-
- 30 Kas, 2007 1 kayıt (commit)
-
-
Amaury Forgeot d'Arc yazdı
The t# and w# formats were not correctly handled. Will backport.
-
- 04 Eki, 2006 1 kayıt (commit)
-
-
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...
-
- 21 Eyl, 2006 1 kayıt (commit)
-
-
Walter Dörwald yazdı
-
- 09 Agu, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
C argument format strings; fixes rest of #1523610.
-
- 26 Tem, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
Also add a guard against NULL in converttuple and add a test case (that previously would have crashed).
-
- 08 Haz, 2006 2 kayıt (commit)
-
-
Georg Brandl yazdı
Actually, checking for INT_MAX and INT_MIN is correct since the format code explicitly handles a C "int".
-
Georg Brandl yazdı
-
- 18 Nis, 2006 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 14 Nis, 2006 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
PyObject_CallMethod aware of PY_SSIZE_T_CLEAN.
-
Neal Norwitz yazdı
passing a string. Martin already fixed the actual crash by ensuring Py_UNICODE is unsigned. As discussed on python-dev, this fix removes the possibility of creating a unicode string from a raw buffer. There is an outstanding question of how to fix the crash in 2.4.
-
- 13 Nis, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 12 Nis, 2006 1 kayıt (commit)
-
-
Anthony Baxter yazdı
-
- 01 Mar, 2006 3 kayıt (commit)
-
-
Thomas Wouters yazdı
-
Thomas Wouters yazdı
-
Martin v. Löwis yazdı
-
- 27 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 20 Şub, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
add a Py_SAFE_DOWNCAST() to make the code correct.
-
- 19 Şub, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
ultimately going to snprintf() not the python string formatter. Right?
-
- 16 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 15 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 20 Ock, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 19 Ara, 2005 2 kayıt (commit)
-
-
Neal Norwitz yazdı
-
Neal Norwitz yazdı
Most of these can be backported.
-
- 10 Ara, 2005 1 kayıt (commit)
-
-
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 *.
-
- 14 Eyl, 2005 1 kayıt (commit)
-
-
Georg Brandl yazdı
evaluating keyword arguments.
-
- 26 Agu, 2005 1 kayıt (commit)
-
-
Georg Brandl yazdı
(fixes bug #1119418)
-
- 30 Mar, 2005 1 kayıt (commit)
-
-
Michael W. Hudson yazdı
commit a yelp about a noted flaw the error messages for METH_KEYWORDS functions under some circumstances.
-
- 03 Mar, 2005 2 kayıt (commit)
-
-
Martin v. Löwis yazdı
numbers in PyLong_AsLongLong, and update test suite accordingly. Backported to 2.4.
-
Martin v. Löwis yazdı
Backported to 2.4.
-
- 07 Agu, 2004 1 kayıt (commit)
-
-
Michael W. Hudson yazdı
[ 991812 ] PyArg_ParseTuple can miss errors with warnings as exceptions as suggested in the report. This is definitely a 2.3 candidate (as are most of the checkins I've made in the last month...)
-
- 10 Tem, 2004 1 kayıt (commit)
-
-
Brett Cannon yazdı
PyArg_VaParse(). Closes patch #550732. Thanks Greg Chapman.
-
- 03 May, 2003 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-