[Python-checkins] python/dist/src/Modules threadmodule.c,2.59,2.60
gvanrossum at users.sourceforge.net
gvanrossum at users.sourceforge.net
Sun Feb 20 04:02:20 CET 2005
Update of /cvsroot/python/python/dist/src/Modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9262
Modified Files:
threadmodule.c
Log Message:
The error message "can't start new thread" should not end in a
newline.
Index: threadmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/threadmodule.c,v
retrieving revision 2.59
retrieving revision 2.60
diff -u -d -r2.59 -r2.60
--- threadmodule.c 24 Aug 2004 22:24:08 -0000 2.59
+++ threadmodule.c 20 Feb 2005 03:02:16 -0000 2.60
@@ -494,7 +494,7 @@
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);
More information about the Python-checkins
mailing list