Victor Stinner wrote: > That's why I suggest to reconsider the idea of supporting an > *optional* "from __future__ import async" to get async and await as > keywords in the current file. This import would allow all crazy > syntax. The parser might suggest to use the import when it fails to > parse an async or await keyword :-) To me, these new features *obviously* should require a __future__ import. Anything else would be crazy. > I accept the compromise of creating a coroutine object without wait > for it (obvious and common bug when learning asyncio). Hopefully, we > keep the coroutine wrapper feature (ok, maybe I suggested this idea to > Yury because I suffered so much when I learnt how to use asyncio ;-)), > so it will still be easy to emit a warning in debug mode. I'm disappointed that there will *still* be no direct and reliable way to detect and clearly report this kind of error, and that what there is will only be active in a special debug mode. -- Greg
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