4 ms·
"decent doc and asyncio.run() for a short time" -- can you give a URL or some pointers? Thanks.
by ausjke 8y ago
"decent doc and asyncio.run() for a short time" -- can you give a URL or some pointers? Thanks.
- sametmax 8y agoStarting from 3.7, the documentation is much, much better (https://docs.python.org/3/library/asyncio.html https://docs.python.org/3/library/asyncio.html compared to https://docs.python.org/3.6/library/asyncio.html https://docs.python.org/3.6/library/asyncio.html). As you'll notice, we now can start program with a simple asyncio.run() instead of manually setuping the event loop. Not only it is less verbose and easier, it's also much less error prone. It should have been in asyncio from the begining, but even a long fight on python-ideas didn't work. Fortunatly, Yuri decided to add on his own.
- ausjke 8y agothanks, very helpful