How the heck does async/await work in Python 3.5
Sven R. Kunze
srkunze at mail.de
Tue Feb 23 11:50:05 EST 2016
More information about the Python-list mailing list
Tue Feb 23 11:50:05 EST 2016
- Previous message (by thread): How the heck does async/await work in Python 3.5
- Next message (by thread): How the heck does async/await work in Python 3.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 23.02.2016 01:48, Ian Kelly wrote: > On Mon, Feb 22, 2016 at 3:16 PM, Sven R. Kunze <srkunze at mail.de> wrote: >> Is something like shown in 12:50 ( cout << tcp_reader(1000).get() ) possible >> with asyncio? (tcp_reader would be async def) > loop = asyncio.get_event_loop() > print(loop.run_until_complete(tcp_reader(1000))) I see. Thanks. :) How come that Python (compared to C++) needs much more boilerplate to use async programming? Historically, it was the other way round. Best, Sven
- Previous message (by thread): How the heck does async/await work in Python 3.5
- Next message (by thread): How the heck does async/await work in Python 3.5
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list