[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-07 Thread Andrew Svetlov
Change by Andrew Svetlov : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-07 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 4112a3da2e01ecc19e9f54b8ac7b383b6f5e85c8 by Andrew Svetlov in branch '3.8': [3.8] bpo-39191: Fix RuntimeWarning in asyncio test (GH-17863) (#17894) https://github.com/python/cpython/commit/4112a3da2e01ecc19e9f54b8ac7b383b6f5e85c8 --

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-07 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +17305 pull_request: https://github.com/python/cpython/pull/17895 ___ Python tracker ___

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-07 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +17304 pull_request: https://github.com/python/cpython/pull/17894 ___ Python tracker ___

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-07 Thread miss-islington
miss-islington added the comment: New changeset 10ac0cded26d91c3468e5e5a87cecad7fc0bcebd by Miss Islington (bot) (Andrew Svetlov) in branch 'master': bpo-39191: Fix RuntimeWarning in asyncio test (GH-17863) https://github.com/python/cpython/commit/10ac0cded26d91c3468e5e5a87cecad7fc0bcebd

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-06 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +17280 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/17863 ___ Python tracker ___

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Ooh, you are right. The warning is printed only, test runner thinks that the test is ok. I'll prepare a quick fix. -- assignee: -> asvetlov status: closed -> open ___ Python tracker

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-06 Thread Andrew Svetlov
Andrew Svetlov added the comment: Thanks for the report! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-06 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: This commit seems to generate some warnings in the nested run_until_complete test. The check for running loop is now done at run_until_complete itself before going through the below code in it to create a future and raised a RuntimeError by

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-04 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 9c145e19fba53369da5cd23a1e71de489836f827 by Andrew Svetlov in branch '3.7': [3.7] bpo-39191: Don't spawn a task before failing (GH-17796) (#17821) https://github.com/python/cpython/commit/9c145e19fba53369da5cd23a1e71de489836f827 --

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-04 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 867d8333ce6a7f74191ad464acc609d4a04e4acb by Andrew Svetlov in branch '3.8': [3.8] bpo-39191: Don't spawn a task before failing (GH-17796) (GH-17820) https://github.com/python/cpython/commit/867d8333ce6a7f74191ad464acc609d4a04e4acb --

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-04 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +17247 pull_request: https://github.com/python/cpython/pull/17821 ___ Python tracker ___

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-04 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +17246 pull_request: https://github.com/python/cpython/pull/17820 ___ Python tracker ___

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-02 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +17231 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17796 ___ Python tracker ___

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-02 Thread Andrew Svetlov
Andrew Svetlov added the comment: Agree, this is a bug. -- versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue39191] Coroutine is awaited despite an exception in run_until_complete()

2020-01-02 Thread Kaveshnikov Denis
New submission from Kaveshnikov Denis : 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