Andrew Svetlov <andrew.svet...@gmail.com> added the comment:
`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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34476> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com