RCS file: /cvsroot/python/python/dist/src/Objects/unicodeobject.c,v retrieving revision 2.28 diff -C2 -r2.28 unicodeobject.c *** Objects/unicodeobject.c 2000/06/18 22:25:22 2.28 --- Objects/unicodeobject.c 2000/06/27 14:34:06 *************** *** 2989,2994 **** /* Coerce the two arguments */ v = (PyUnicodeObject *)PyUnicode_FromObject(element); ! if (v == NULL) goto onError; u = (PyUnicodeObject *)PyUnicode_FromObject(container); if (u == NULL) { --- 2989,2998 ---- /* Coerce the two arguments */ v = (PyUnicodeObject *)PyUnicode_FromObject(element); ! if (v == NULL) { ! PyErr_Clear(); ! PyErr_SetString(PyExc_TypeError, ! "'in ' requires character as left operand"); goto onError; + } u = (PyUnicodeObject *)PyUnicode_FromObject(container); if (u == NULL) {