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 Jonathan Kamens, martin.panter, pje
Date 2015-05-26.22:01:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1432677669.14.0.201650936871.issue24291@psf.upfronthosting.co.za>
In-reply-to
Content
[UTF-8 error workaround]

What kind of object is “stdout”? Plain Python socket objects don’t have a write() method.

Perhaps “stdout” is meant to implement the BufferedIOBase.write() interface, which guarantees everything is written, even if it takes multiple raw calls. Wrapping your output stream in BufferedWriter might be a solution.
History
Date User Action Args
2015-05-26 22:01:09martin.pantersetrecipients: + martin.panter, pje, Jonathan Kamens
2015-05-26 22:01:09martin.pantersetmessageid: <1432677669.14.0.201650936871.issue24291@psf.upfronthosting.co.za>
2015-05-26 22:01:09martin.panterlinkissue24291 messages
2015-05-26 22:01:09martin.pantercreate