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 simonw
Recipients asvetlov, docs@python, simonw, yselivanov
Date 2020-12-29.19:40:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
asyncio.sleep(0) is the recommended idiom for co-operatively yielding control of the event loop to another task: and

This isn't currently explained in the documentation.
Date User Action Args
2020-12-29 19:40:26simonwsetrecipients: + simonw, asvetlov, docs@python, yselivanov
2020-12-29 19:40:26simonwsetmessageid: <>
2020-12-29 19:40:26simonwlinkissue42783 messages
2020-12-29 19:40:26simonwcreate