Message326706
`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. |
|
Date |
User |
Action |
Args |
2018-09-30 06:26:47 | asvetlov | set | recipients:
+ asvetlov, hniksic, docs@python, yselivanov, xtreak |
2018-09-30 06:26:47 | asvetlov | set | messageid: <1538288807.06.0.545547206417.issue34476@psf.upfronthosting.co.za> |
2018-09-30 06:26:47 | asvetlov | link | issue34476 messages |
2018-09-30 06:26:46 | asvetlov | create | |
|