Message244138
| 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:09 | martin.panter | set | recipients:
+ martin.panter, pje, Jonathan Kamens |
| 2015年05月26日 22:01:09 | martin.panter | set | messageid: <1432677669.14.0.201650936871.issue24291@psf.upfronthosting.co.za> |
| 2015年05月26日 22:01:09 | martin.panter | link | issue24291 messages |
| 2015年05月26日 22:01:09 | martin.panter | create |
|