From: Guido van Rossum Date: Sun, 20 Feb 2005 03:02:16 +0000 (+0000) Subject: The error message "can't start new thread" should not end in a X-Git-Tag: v2.5a0~2009 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=54c273c703957e37100900b3e8a25f94c4c17003;p=thirdparty%2FPython%2Fcpython.git The error message "can't start new thread" should not end in a newline. --- diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index cba01faf06d6..eccb678e5bee 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c @@ -494,7 +494,7 @@ thread_PyThread_start_new_thread(PyObject *self, PyObject *fargs) PyEval_InitThreads(); /* Start the interpreter's thread-awareness */ ident = PyThread_start_new_thread(t_bootstrap, (void*) boot); if (ident == -1) { - PyErr_SetString(ThreadError, "can't start new thread\n"); + PyErr_SetString(ThreadError, "can't start new thread"); Py_DECREF(func); Py_DECREF(args); Py_XDECREF(keyw);