From: Benjamin Peterson Date: Mon, 2 Apr 2012 15:18:18 +0000 (-0400) Subject: protect this call, too X-Git-Tag: v2.7.4rc1~927 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f235989e0c56e7dee3cefeade0bc655bd58ad776;p=python protect this call, too --- diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c index 73ee382df3..9462f430a7 100644 --- a/Modules/threadmodule.c +++ b/Modules/threadmodule.c @@ -627,8 +627,8 @@ t_bootstrap(void *boot_raw) 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); } }