commit | f235989e0c56e7dee3cefeade0bc655bd58ad776 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Mon Apr 02 11:18:18 2012 -0400 |
committer | Benjamin Peterson <benjamin@python.org> | Mon Apr 02 11:18:18 2012 -0400 |
tree | beccd34d61ce393b7a1c3402ecbdf0db80451965 | |
parent | f73813a8bbb55ac725720f4d3839b51f992f1f3f [diff] |
protect this call, too
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 73ee382..9462f43 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c
@@ -627,8 +627,8 @@ PyFile_WriteObject(boot->func, file, 0); else PyObject_Print(boot->func, stderr, 0); - PyErr_Restore(exc, value, tb); PySys_WriteStderr("\n"); + PyErr_Restore(exc, value, tb); PyErr_PrintEx(0); } }