A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2015-June/140586.html below:

[Python-Dev] Importance of "async" keyword

[Python-Dev] Importance of "async" keyword [Python-Dev] Importance of "async" keywordAndrew Svetlov andrew.svetlov at gmail.com
Thu Jun 25 21:11:43 CEST 2015
> Another issue that bothers me, is code reuse. Independent from whether the
> 'async def' makes sense or not, it would not allow us to reuse asyncio
> functions as if they were normal functions and vice versa (if I understood
> that correctly). So, we would have to implement things twice for the asyncio
> world and the classic world. To me, it would be important to use one
> function in either world where it suits me better. I am uncertain if that
> makes sense but right now it does to me.


Yes, you cannot call async function from synchronous code. There are
two worlds: classic and async.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4