Skip to content

Conversation

miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Oct 27, 2023

  • 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 gvanrossum merged commit 1a01ca4 into python:3.11 Oct 27, 2023
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