GH-110894: Call loop exception handler for exceptions in client_connected_cb#111601
GH-110894: Call loop exception handler for exceptions in client_connected_cb#111601kumaraditya303 merged 3 commits intopython:mainfrom
Conversation
|
Thanks @kumaraditya303 for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
|
Sorry, @kumaraditya303, I could not cleanly backport this to |
|
Sorry, @kumaraditya303, I could not cleanly backport this to |
|
GH-111632 is a backport of this pull request to the 3.12 branch. |
… client_connected_cb (pythonGH-111601) Call loop exception handler for exceptions in `client_connected_cb` of `asyncio.start_server` so that applications can handle it.. (cherry picked from commit 229f44d) Co-authored-by: Kumar Aditya <[email protected]>
|
|
… client_connected_cb (pythonGH-111601) Call loop exception handler for exceptions in `client_connected_cb` of `asyncio.start_server` so that applications can handle it.. (cherry picked from commit 229f44d) Co-authored-by: Kumar Aditya <[email protected]>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The test fails on many buildbots: see previous comments and issue #111644. |
…_connected_cb (python#111601) Call loop exception handler for exceptions in `client_connected_cb` of `asyncio.start_server` so that applications can handle it.
|
@kumaraditya303 Please revert this ASAP. CI is failing on main, meaning we cannot merge bug fixes for other issues. |
I fixed the issue with PR #111713. Sadly, on existing PRs, either failing jobs should be re-run, or the PR should be rebased on the main branch.
@kumaraditya303: Do you plan to backport the change to 3.11? If yes, please include my fix in your backport ;-) |
Oh, PR #111634 already exists. I included my fix in this backport. |
…n client_connected_cb (GH-111601) (GH-111632) (#111634) * [3.12] GH-110894: Call loop exception handler for exceptions in client_connected_cb (GH-111601) (GH-111632) (cherry picked from commit 9aa8829) Co-authored-by: Kumar Aditya <[email protected]> Call loop exception handler for exceptions in `client_connected_cb` of `asyncio.start_server` so that applications can handle it.. (cherry picked from commit 229f44d) * gh-111644: Fix asyncio test_unhandled_exceptions() (#111713) Fix test_unhandled_exceptions() of test_asyncio.test_streams: break explicitly a reference cycle. Fix also StreamTests.tearDown(): the loop must not be closed explicitly, but using set_event_loop() which takes care of shutting down the executor with executor.shutdown(wait=True). BaseEventLoop.close() calls executor.shutdown(wait=False). (cherry picked from commit ac01e22) --------- Co-authored-by: Kumar Aditya <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
…_connected_cb (python#111601) Call loop exception handler for exceptions in `client_connected_cb` of `asyncio.start_server` so that applications can handle it.
…_connected_cb (python#111601) Call loop exception handler for exceptions in `client_connected_cb` of `asyncio.start_server` so that applications can handle it.
Uh oh!
There was an error while loading. Please reload this page.