[issue25887] awaiting on coroutine more than once should be an error

Yury Selivanov report at bugs.python.org
Mon Jan 11 23:16:35 EST 2016


Yury Selivanov added the comment:

"Cannot await previously awaited coroutine" might be confusing if raised on "coro.send(..)"-like code...

So far "coroutine was already awaited on" (do you want to drop "was", btw?) is less of all evil IMHO.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25887>
_______________________________________


More information about the Python-bugs-list mailing list