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 vstinner
Recipients Paulo Costa, gvanrossum, martin.panter, vstinner, yselivanov
Date 2016-02-03.08:16:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Paulo Costa:
> async def async_read(fd. n):

This method already exists:
* (TCP)
* (UDP)
* (TCP)

Martin Panter:
> last time I looked they all seemed to buffer your write data and send it in the background. E.g. in the echo-client-using-streams example, there is a writer.write() call that does not use “yield from”. Does asyncio have an easy way for a coroutine to write to a socket (or file descriptor) and block (suspend the coroutine) until the write has finished

Sure, you must call
Date User Action Args
2016-02-03 08:16:19vstinnersetrecipients: + vstinner, gvanrossum, martin.panter, yselivanov, Paulo Costa
2016-02-03 08:16:19vstinnersetmessageid: <>
2016-02-03 08:16:19vstinnerlinkissue26270 messages
2016-02-03 08:16:19vstinnercreate