Message 326706 - Python tracker

Message326706

Author asvetlov
Recipients asvetlov, docs@python, hniksic, xtreak, yselivanov
Date 2018-09-30.06:26:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538288807.06.0.545547206417.issue34476@psf.upfronthosting.co.za>
In-reply-to
Content
`asyncio.sleep()` always pauses the current task and switches execution to another one.
`asyncio.sleep(0)` has no special meaning (but it has internal optimization for the case).

Basically the same as `time.sleep(0)` for multithreaded program.

I doubt if we need to blow the documentation with all possible related details.
History
Date User Action Args
2018-09-30 06:26:47asvetlovsetrecipients: + asvetlov, hniksic, docs@python, yselivanov, xtreak
2018-09-30 06:26:47asvetlovsetmessageid: <1538288807.06.0.545547206417.issue34476@psf.upfronthosting.co.za>
2018-09-30 06:26:47asvetlovlinkissue34476 messages
2018-09-30 06:26:46asvetlovcreate