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 martin.panter
Recipients BreamoreBoy, Jimbofbx, docs@python, jbmilam, martin.panter, pitrou, r.david.murray, serhiy.storchaka
Date 2015-06-02.04:59:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1433221191.4.0.187395834887.issue12020@psf.upfronthosting.co.za>
In-reply-to
Content
I wouldn’t expect to see a message for stderr because there is nowhere else to send the message. However with my patch for Issue 5319, at least we get a non-zero exit status.

Brandon: I agree this should be under sys.stdin/out/err; I wasn’t saying to put it under the io.TextIOBase documentation. What I meant was one option would be to refer to that class as a duck-typing API. Say something like: “sys.stdout [etc] may be replaced with other objects, as long as they implement [the write-only parts, etc of] the TextIOBase API [optionally ‘buffer’ etc]”. Exact details to be determined.
History
Date User Action Args
2015-06-02 04:59:51martin.pantersetrecipients: + martin.panter, pitrou, r.david.murray, docs@python, BreamoreBoy, Jimbofbx, serhiy.storchaka, jbmilam
2015-06-02 04:59:51martin.pantersetmessageid: <1433221191.4.0.187395834887.issue12020@psf.upfronthosting.co.za>
2015-06-02 04:59:51martin.panterlinkissue12020 messages
2015-06-02 04:59:51martin.pantercreate