From: Moshe Zadka Date: Fri, 30 Mar 2001 20:44:51 +0000 (+0000) Subject: - #121013 - stringobject.c -- "".join(u"this is a test") dumped core X-Git-Tag: v2.0.1c1~48 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=324ebb156fe776a5fe88536ea18bfefd9b475b5e;p=thirdparty%2FPython%2Fcpython.git - #121013 - stringobject.c -- "".join(u"this is a test") dumped core --- diff --git a/Objects/stringobject.c b/Objects/stringobject.c index dbade8ca795c..6ba907e1e813 100644 --- a/Objects/stringobject.c +++ b/Objects/stringobject.c @@ -835,7 +835,7 @@ string_join(PyStringObject *self, PyObject *args) if (PyUnicode_Check(item)) { Py_DECREF(res); Py_DECREF(seq); - return PyUnicode_Join((PyObject *)self, seq); + return PyUnicode_Join((PyObject *)self, orig); } PyErr_Format(PyExc_TypeError, "sequence item %i: expected string,"