[issue13186] instance_ass_item() broken in classobject.c (Py2.7)

2011-10-15 Thread Roundup Robot
Roundup Robot added the comment: New changeset 418fbf1af875 by Benjamin Peterson in branch '2.7': PyEval_CallObject requires a tuple of args (closes #13186) http://hg.python.org/cpython/rev/418fbf1af875 -- nosy: +python-dev resolution: -> fixed stage: -> committed/rejected status: ope

[issue13186] instance_ass_item() broken in classobject.c (Py2.7)

2011-10-15 Thread Stefan Behnel
New submission from Stefan Behnel : Starting at line 1223 in classobject.c, you can find this code: if (item == NULL) arg = PyInt_FromSsize_t(i); else arg = Py_BuildValue("(nO)", i, item); if (arg == NULL) { Py_DECREF(func); return -1; } res =