Visitar URL original
gh-159011: Update dummy thread lifecycle documentation by nightcityblade · Pull Request #159032 · python/cpython · GitHub
Skip to content

gh-159011: Update dummy thread lifecycle documentation - #159032

Open
nightcityblade wants to merge 1 commit into
python:mainfrom
nightcityblade:fix/issue-159011
Open

nightcityblade wants to merge 1 commit into
python:mainfrom
nightcityblade:fix/issue-159011

Conversation

@nightcityblade

@nightcityblade nightcityblade commented Oct 8, 2026 •

Copy link
Copy Markdown

Fixes #159011.

Summary

  • clarify that dummy thread objects are removed from the active thread list after their alien threads terminate
  • document that this behavior changed in Python 3.13

Tests

  • uv run prek run --files Doc/library/threading.rst
  • focused Sphinx dummy build with warnings treated as errors
  • Python 3.14 runtime check confirming the dummy thread is removed from threading.enumerate() after termination

@python-cla-bot

python-cla-bot Bot commented Oct 8, 2026

Copy link
Copy Markdown

The following commit authors need to sign the Contributor License Agreement:

CLA not signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review docs Documentation in the Doc dir skip news

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

Docs: threading says dummy thread objects are never deleted, outdated since 3.13

1 participant