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 asvetlov
Recipients asvetlov, viocal, yselivanov
Date 2019-05-21.12:19:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558441153.66.0.372485584743.issue36981@roundup.psfhosted.org>
In-reply-to
Content
No. pause_writing/resume_writing are protocol callbacks called by transport.
User code should respond to these callbacks by stopping sending data to transport (transport.write()).

The logic is a little complicated but it is ok for very low-level asyncio API.
Convenient user-facing wrappers like asyncio streams hide this logic by providing high-level primitives that support flow-control out of the box

I'm closing the issue, nothing to do here on asyncio low-level side.
History
Date User Action Args
2019-05-21 12:19:13asvetlovsetrecipients: + asvetlov, yselivanov, viocal
2019-05-21 12:19:13asvetlovsetmessageid: <1558441153.66.0.372485584743.issue36981@roundup.psfhosted.org>
2019-05-21 12:19:13asvetlovlinkissue36981 messages
2019-05-21 12:19:13asvetlovcreate