Skip to content

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commented Oct 3, 2022

Ensure that the event loop's _thread_id attribute and the asyncgen hooks set by sys.set_asyncgen_hooks() are always restored no matter where a KeyboardInterrupt exception is raised.
(cherry picked from commit 3a49dbb)

Co-authored-by: hetmankp 728670+hetmankp@users.noreply.github.com

…ythonGH-97765) Ensure that the event loop's `_thread_id` attribute and the asyncgen hooks set by `sys.set_asyncgen_hooks()` are always restored no matter where a KeyboardInterrupt exception is raised. (cherry picked from commit 3a49dbb) Co-authored-by: hetmankp <728670+hetmankp@users.noreply.github.com>
@miss-islington
Copy link
ContributorAuthor

Status check is done, and it's a success ✅.

@miss-islingtonmiss-islington merged commit 4420da0 into python:3.11Oct 3, 2022
@miss-islingtonmiss-islington deleted the backport-3a49dbb-3.11 branch October 3, 2022 21:39
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@miss-islington@gvanrossum@bedevere-bot@hetmankp