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

Nick Coghlan report at bugs.python.org
Mon Jan 11 22:31:15 EST 2016


Nick Coghlan added the comment:

Good point about having "await" in the error message to make it more obvious what it's referring to in the "awaiting twice" case.

I'll tender "Cannot await previously awaited coroutine" as one final alternative, but if you don't like that, I can cope with "Coroutine already awaited on" :)

----------

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


More information about the Python-bugs-list mailing list