GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [3.12] gh-110205: Fix asyncio ThreadedChildWatcher._join_threads() (GH-110884) by miss-islington · Pull Request #111412 · python/cpython

Conversation

@miss-islington

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

Uh oh!

There was an error while loading. Please reload this page.

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 [email protected]

  • Issue: test_asyncio.test_subprocess leaked dangling threads on PPC64LE Fedora Stable 3.x: #110205

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@gvanrossum @miss-islington
pythongh-110205: Fix asyncio ThreadedChildWatcher._join_threads() (py…
8d9326d
…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 <[email protected]>
@miss-islington
miss-islington requested review from 1st1, asvetlov, gvanrossum, kumaraditya303 and willingc as code owners October 27, 2023 22:44
@bedevere-app bedevere-app Bot mentioned this pull request Oct 27, 2023
test_asyncio.test_subprocess leaked dangling threads on PPC64LE Fedora Stable 3.x: #110205
Closed
@bedevere-app bedevere-app Bot added the awaiting review label Oct 27, 2023
@bedevere-app bedevere-app Bot mentioned this pull request Oct 27, 2023
gh-110205: Fix asyncio ThreadedChildWatcher._join_threads() #110884
Merged
@bedevere-app bedevere-app Bot added the skip news label Oct 27, 2023
gvanrossum
gvanrossum approved these changes Oct 27, 2023
View reviewed changes
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Oct 27, 2023
@gvanrossum
gvanrossum merged commit 2398036 into python:3.12 Oct 27, 2023
@bedevere-app bedevere-app Bot removed the awaiting merge label Oct 27, 2023
@miss-islington
miss-islington deleted the backport-c3bb10c-3.12 branch January 2, 2026 18:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@gvanrossum gvanrossum gvanrossum approved these changes
@1st1 1st1 Awaiting requested review from 1st1 1st1 is a code owner
@asvetlov asvetlov Awaiting requested review from asvetlov asvetlov is a code owner
@kumaraditya303 kumaraditya303 Awaiting requested review from kumaraditya303 kumaraditya303 is a code owner
@willingc willingc Awaiting requested review from willingc willingc is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@miss-islington @gvanrossum
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.