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

Make stdin unbuffered too, when PYTHONUNBUFFERED is specified.

üst 57ba4f35
......@@ -51,6 +51,7 @@ Py_FrozenMain(argc, argv)
unbuffered = 1;
if (unbuffered) {
setbuf(stdin, (char *)NULL);
setbuf(stdout, (char *)NULL);
setbuf(stderr, (char *)NULL);
}
......
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