On Fri, Feb 19, 2021 at 6:29 AM Luciano Ramalho <[email protected]> wrote:
> async def __sleep():
>     return None

Sorry, I meant to write:

async def __sleep0():
    return None

Since the idea is to replace the generator-based coroutine `__sleep0`
in tasks.py [1] with a native coroutine.

[1] 
https://github.com/python/cpython/blob/e92d67dfbb4790df37aa6a0961fb6dc7e8d2fbbf/Lib/asyncio/tasks.py#L585

-- 
Luciano Ramalho
|  Author of Fluent Python (O'Reilly, 2015)
|     http://shop.oreilly.com/product/0636920032519.do
|  Technical Principal at ThoughtWorks
|  Twitter: @ramalhoorg
_______________________________________________
Python-Dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/[email protected]/message/TUQPYNWLCFM66G7B3C26WFIDGL7Y3O5G/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to