Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Nov 2, 2023

(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)

… client_connected_cb (pythonGH-111601) (pythonGH-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)
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)
@vstinner
Copy link
Member

vstinner commented Nov 4, 2023

I included my fix in this backport: commit ac01e22.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants