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 aronacher, benjamin.peterson, flox, hynek, martin.panter, pitrou, python-dev, r.david.murray, stutzbach
Date 2014-05-15.20:47:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400186830.2316.23.camel@fsol>
In-reply-to <1400186696.42.0.554658773365.issue21364@psf.upfronthosting.co.za>
Content
> To avoid further problems may I also recommend documenting how exactly
> people are supposed to wrap sys.stdout and so forth.  Clearly putting
> a StringIO there is insufficient as StringIO does not have a buffer.

I would like to know of some situations where you want to write some
code that accesses standard streams as binary *and* don't control the
application setup (i.e. library code rather than application code). It
seems to me that a library should take the binary streams as parameters
rather than force the use of stdin/stdout.
History
Date User Action Args
2014-05-15 20:47:13pitrousetrecipients: + pitrou, benjamin.peterson, stutzbach, aronacher, r.david.murray, flox, python-dev, hynek, martin.panter
2014-05-15 20:47:13pitroulinkissue21364 messages
2014-05-15 20:47:13pitroucreate