Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.10] gh-94732: Fix KeyboardInterrupt race in asyncio run_forever() (GH-97765)#97793

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

@miss-islington
Copy link
Contributor

@miss-islingtonmiss-islington commentedOct 3, 2022
edited by bedevere-bot
Loading

Ensure that the event loop's_thread_id attribute and the asyncgen hooks set bysys.set_asyncgen_hooks() are always restored no matter where a KeyboardInterrupt exception is raised.
(cherry picked from commit3a49dbb)

Co-authored-by: hetmankp728670+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 commit3a49dbb)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 commita7e2811 intopython:3.10Oct 3, 2022
@miss-islingtonmiss-islington deleted the backport-3a49dbb-3.10 branchOctober 3, 2022 21:39
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gvanrossumgvanrossumgvanrossum approved these changes

@1st11st1Awaiting requested review from 1st11st1 is a code owner

@asvetlovasvetlovAwaiting requested review from asvetlovasvetlov is a code owner

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

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

[8]ページ先頭

©2009-2025 Movatter.jp