This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients georg.brandl, noam, pitrou, vstinner
Date 2010-03-24.13:09:09
SpamBayes Score 1.8297526e-07
Marked as misclassified No
Message-id <1269436258.3367.2.camel@localhost>
In-reply-to <1269411519.71.0.384212856262.issue8213@psf.upfronthosting.co.za>
Content
> I don't quite see the point in having the streams buffered in one
> level and unbuffered in another, but I guess there's a reason.

The reason is simply that it wasn't implemented. Unbuffered I/O isn't
useful very often.

> Anyway, how can I make those streams entirely unbuffered? This is for
> an interactive shell called DreamPie (dreampie.sourceforge.net), and I
> want to resemble the behavior of the regular shell as close as
> possible, and it's completely unbuffered.

You can just call flush() after each write to stdout or stderr.
History
Date User Action Args
2010-03-24 13:09:16pitrousetrecipients: + pitrou, georg.brandl, vstinner, noam
2010-03-24 13:09:10pitroulinkissue8213 messages
2010-03-24 13:09:09pitroucreate