[Python-checkins] cpython (2.7): protect this call, too
benjamin.peterson
python-checkins at python.org
Mon Apr 2 17:28:55 CEST 2012
http://hg.python.org/cpython/rev/d552016fc07c
changeset: 76067:d552016fc07c
branch: 2.7
user: Benjamin Peterson <benjamin at python.org>
date: Mon Apr 02 11:18:18 2012 -0400
summary:
protect this call, too
files:
Modules/threadmodule.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Modules/threadmodule.c b/Modules/threadmodule.c
--- 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);
+ PySys_WriteStderr("\n");
PyErr_Restore(exc, value, tb);
- PySys_WriteStderr("\n");
PyErr_PrintEx(0);
}
}
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list