New submission from Kaveshnikov Denis <kaveshnikov.de...@hotmail.com>:
Hi, I found that if to call run_until_complete() in the task while the event loop will be running, a coroutine sent to run_until_complete() will be performed despite the exception raised from run_until_complete(). It seems to me, it would be better to cancel such a coroutine or just do nothing with it. ---------- components: asyncio files: test_event_loop.py messages: 359196 nosy: asvetlov, dkaveshnikov, yselivanov priority: normal severity: normal status: open title: Coroutine is awaited despite an exception in run_until_complete() type: behavior versions: Python 3.7 Added file: https://bugs.python.org/file48819/test_event_loop.py _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue39191> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com