SF patch http://sourceforge.net/patch/?func=detailpatch&patch_id=103453&group_id=5470 PyMember_Set of T_CHAR always raises exception. Unfortunately, this is a use of a C API function that Python itself never makes, so there's no .py test I can check in to verify this stays fixed. But the fault in the code is obvious, and Dave Cole's patch just as obviously fixes it.
This commit is contained in:
parent
40ead76ed6
commit
547397c45b
|
@ -72,6 +72,7 @@ Tom Christiansen
|
|||
Vadim Chugunov
|
||||
Mike Clarkson
|
||||
Steve Clift
|
||||
Dave Cole
|
||||
Jeffery Collins
|
||||
Matt Conway
|
||||
Scott Cotton
|
||||
|
|
|
@ -231,6 +231,7 @@ PyMember_Set(char *addr, struct memberlist *mlist, char *name, PyObject *v)
|
|||
PyErr_BadArgument();
|
||||
return -1;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
PyErr_SetString(PyExc_SystemError,
|
||||
"bad memberlist type");
|
||||
|
|
Loading…
Reference in New Issue