Message244138
[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. |
|
| 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: <[email protected]> |
| 2015-05-26 22:01:09 | martin.panter | link | issue24291 messages |
| 2015-05-26 22:01:09 | martin.panter | create | |
|