Kaydet (Commit) 527c2643 authored tarafından Guido van Rossum's avatar Guido van Rossum

flush stdout before writing to stderr in print_error()

üst 74ee2878
......@@ -286,6 +286,7 @@ print_error()
object *exception, *v, *tb, *f;
err_fetch(&exception, &v, &tb);
flushline();
fflush(stdout);
if (exception == NULL)
fatal("print_error called but no exception");
if (exception == SystemExit) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment