[issue22429] asyncio: pending call to loop.stop() if a coroutine raises a BaseException

Guido van Rossum report at bugs.python.org
Sun Dec 20 01:47:25 EST 2015


Guido van Rossum added the comment:

FWIW I think this is now fixed differently, because we reimplemented stop() to use a flag on the loop that's checked by _run_once(), rather than raising an exception. _run_until_complete_cb() can be reduced to simply call fut._loop.stop(). (At least, all tests still pass. :-)

----------

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


More information about the Python-bugs-list mailing list