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:
Tim Peters 2001-01-27 06:20:08 +00:00
parent 40ead76ed6
commit 547397c45b
2 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,7 @@ Tom Christiansen
Vadim Chugunov
Mike Clarkson
Steve Clift
Dave Cole
Jeffery Collins
Matt Conway
Scott Cotton

View File

@ -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");