FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.12] gh-110205: Fix asyncio ThreadedChildWatcher._join_threads() (GH-110884) by miss-islington · Pull Request #111412 · python/cpython · GitHub

Repository navigation

[3.12] gh-110205: Fix asyncio ThreadedChildWatcher._join_threads() (GH-110884) - #111412

Merged
gvanrossum merged 1 commit into
python:3.12from
miss-islington:backport-c3bb10c-3.12
Oct 27, 2023
Merged

gvanrossum merged 1 commit into
python:3.12from
miss-islington:backport-c3bb10c-3.12

Conversation

miss-islington commented Oct 27, 2023 •
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Contributor
  • ThreadedChildWatcher.close() is now officially a no-op; _join_threads() never did anything.
  • Threads created by that class are now named asyncio-waitpid-NNN.
  • test.test_asyncio.utils.TestCase.close_loop() now waits for the child watcher's threads, but not forever; if a thread hangs, it raises RuntimeError.
    (cherry picked from commit c3bb10c)

Co-authored-by: Guido van Rossum guido@python.org

…thonGH-110884)

- `ThreadedChildWatcher.close()` is now *officially* a no-op; `_join_threads()` never did anything.
- Threads created by that class are now named `asyncio-waitpid-NNN`.
- `test.test_asyncio.utils.TestCase.close_loop()` now waits for the child watcher's threads, but not forever; if a thread hangs, it raises `RuntimeError`.
(cherry picked from commit c3bb10c)

Co-authored-by: Guido van Rossum <guido@python.org>
gvanrossum merged commit 2398036 into python:3.12 Oct 27, 2023
miss-islington deleted the backport-c3bb10c-3.12 branch January 2, 2026 18:40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL