sys.stdout vs. sys.stderr

Martin v. Loewis martin at v.loewis.de
Mon Jan 11 04:09:36 EST 2010


> In Python 3.1 is there any difference in the buffering behavior of the
> initial sys.stdout and sys.stderr streams?

No.

> Were they different at some earlier point in Python's evolution?

That depends on the operating system. These used to be whatever the
C library set up as stdout and stderr. Typically, they were buffered
in the same way.

Regards,
Martin



More information about the Python-list mailing list