Re:Asynchronous Programming in Python: Asyncio
by pdonis on Monday May 01, 2017 @08:10PM
(#14242940)
> async funcions are just simply generators and nothing but parsing the keywords is actually implemented in the interpreter.
As I understand it, async functions have an extra flag that ordinary generators don't have, and the interpreter does some different things if that flag is present. But I have not dug deeply into the source code.
As I understand it, async functions have an extra flag that ordinary generators don't have, and the interpreter does some different things if that flag is present. But I have not dug deeply into the source code.