Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pythongh-94732: Fix KeyboardInterrupt race in asyncio run_forever() (p…
…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 <[email protected]>
- Loading branch information