- 06 Şub, 2008 1 kayıt (commit)
-
-
Christian Heimes yazdı
-
- 04 Şub, 2008 1 kayıt (commit)
-
-
Jeffrey Yasskin yazdı
-
- 18 Ock, 2008 1 kayıt (commit)
-
-
Guido van Rossum yazdı
create a new weakref to the object.
-
- 07 May, 2007 1 kayıt (commit)
-
-
Kristján Valur Jónsson yazdı
As per Armin Rigo's suggestion, remove special handing from intobject.c to deal with the peculiarities of classobject's implementation of the number protocol. The nb_long method of classobject now falls back to nb_int if there is no __long__ attribute present.
-
- 08 Kas, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
Fixes #1591996. Patch contributed by Neal Norwitz. Will backport.
-
- 30 Eyl, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
keyword arguments any more (previously they accepted them, but didn't use them).
-
- 19 Agu, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
object so we don't leak op. (Fixes an earlier patch to this code) Klockwork #350
-
- 14 Agu, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
about the best we can do is call PyErr_WriteUnraisable and go on. We won't be able to do the call below either, so verify delstr is valid.
-
- 13 Agu, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
Should fix most of Klocwork 234-272.
-
- 12 Agu, 2006 2 kayıt (commit)
-
-
Neal Norwitz yazdı
were failing due to inappropriate clipping of numbers larger than 2**31 with new-style classes. (typeobject.c) In reviewing the code for classic classes, there were 2 problems. Any negative value return could be returned. Always return -1 if there was an error. Also make the checks similar with the new-style classes. I believe this is correct for 32 and 64 bit boxes, including Windows64. Add a test of classic classes too.
-
Neal Norwitz yazdı
I modified this patch some by fixing style, some error checking, and adding XXX comments. This patch requires review and some changes are to be expected. I'm checking in now to get the greatest possible review and establish a baseline for moving forward. I don't want this to hold up release if possible.
-
- 09 Agu, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
value is obtained by invoking hash on the long int. Fixes #1536021.
-
- 13 Haz, 2006 1 kayıt (commit)
-
-
Brett Cannon yazdı
arguments in reverse, the interpreter would infinitely recourse trying to get a coercion that worked. So put in a recursion check after a coercion is made and the next call to attempt to use the coerced values. Fixes bug #992017 and closes crashers/coerce.py .
-
- 08 Haz, 2006 1 kayıt (commit)
-
-
Armin Rigo yazdı
Give a consistent behavior for comparison and hashing of method objects (both user- and built-in methods). Now compares the 'self' recursively. The hash was already asking for the hash of 'self'.
-
- 29 May, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 26 May, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 25 May, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
with PyObject_CallFunctionObjArgs, which is 30% faster.
-
- 22 Nis, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 15 Nis, 2006 1 kayıt (commit)
-
-
Thomas Wouters yazdı
using a custom, nearly-identical macro. This probably changes how some of these functions are compiled, which may result in fractionally slower (or faster) execution. Considering the nature of traversal, visiting much of the address space in unpredictable patterns, I'd argue the code readability and maintainability is well worth it ;P
-
- 11 Nis, 2006 1 kayıt (commit)
-
-
Anthony Baxter yazdı
PyTypeObject structures, I had to make prototypes for the functions, and move the structure definition ahead of the functions. I'd dearly like a better way to do this - to change this would make for a massive set of changes to the codebase. There's still some warnings - this is purely to get rid of errors first.
-
- 30 Mar, 2006 1 kayıt (commit)
-
-
Georg Brandl yazdı
-
- 23 Mar, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
wrt to ssize_t.
-
- 20 Mar, 2006 1 kayıt (commit)
-
-
Neal Norwitz yazdı
This will hopefully get rid of some Coverity warnings, be a hint to developers, and be marginally faster. Some asserts were added when the type is currently known, but depends on values from another function.
-
- 07 Mar, 2006 1 kayıt (commit)
-
-
Guido van Rossum yazdı
This was mostly written by Travis Oliphant. I've inspected it all; Neal Norwitz and MvL have also looked at it (in an earlier incarnation).
-
- 27 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 17 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 15 Şub, 2006 1 kayıt (commit)
-
-
Martin v. Löwis yazdı
-
- 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 *.
-
- 20 Eyl, 2005 1 kayıt (commit)
-
-
Guido van Rossum yazdı
represented as a C int, raise OverflowError. (Forward port from 2.4.2; the patch to classobject.c was already in but needed a correction in the error message text.)
-
- 19 Eyl, 2005 1 kayıt (commit)
-
-
Guido van Rossum yazdı
containing a value that doesn't fit in a C int, raise OverflowError rather than truncating silently (and having 50% chance of hitting the "it should be >= 0" error).
-
- 19 Haz, 2005 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
-
- 30 Mar, 2005 1 kayıt (commit)
-
-
Michael W. Hudson yazdı
[ 1165306 ] Property access with decorator makes interpreter crash Don't allow the creation of unbound methods with NULL im_class, because attempting to call such crashes. Backport candidate.
-
- 23 Eyl, 2004 1 kayıt (commit)
-
-
Tim Peters yazdı
I need to define it again. Bite the bullet and define it once as an extern, _Py_SwappedOp[].
-
- 03 Agu, 2004 1 kayıt (commit)
-
-
Michael W. Hudson yazdı
the case of __del__ resurrecting an object. This makes the apparent reference leaks in test_descr go away (which I expected) and also kills off those in test_gc (which is more surprising but less so once you actually think about it a bit).
-
- 22 Kas, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
by the function object or by the method object, the function object's attribute usually wins. Christian Tismer pointed out that that this is really a mistake, because this only happens for special methods (like __reduce__) where the method object's version is really more appropriate than the function's attribute. So from now on, all method attributes will have precedence over function attributes with the same name.
-
- 28 Eki, 2003 1 kayıt (commit)
-
-
Armin Rigo yazdı
SF patch 825639 http://mail.python.org/pipermail/python-dev/2003-October/039445.html
-
- 12 Eki, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
* Py_BuildValue("(OOO)",a,b,c) --> PyTuple_Pack(3,a,b,c) * Py_BuildValue("()",a) --> PyTuple_New(0) * Py_BuildValue("O", a) --> Py_INCREF(a)
-
- 16 Eyl, 2003 1 kayıt (commit)
-
-
Raymond Hettinger yazdı
hashing a class that does not define __hash__ but does define a comparison.
-
- 09 Nis, 2003 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 07 Nis, 2003 1 kayıt (commit)
-
-
Tim Peters yazdı
out whether __del__ exists, without executing any Python-level code.
-