Serhiy Storchaka added the comment:

The confusion is in the definition of await expression with optional "await". 
Without "await" the expression doesn't suspend the execution of coroutine. And 
await expression can only be used inside a coroutine function, but the power 
operator can be used outside.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26156>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to