Skip to content

gh-154549: warning for thread_inherit_context change#154558

Draft
nascheme wants to merge 1 commit into
python:mainfrom
nascheme:thread_inherit_context_warn
Draft

gh-154549: warning for thread_inherit_context change#154558
nascheme wants to merge 1 commit into
python:mainfrom
nascheme:thread_inherit_context_warn

Conversation

@nascheme

@nascheme nascheme commented Jul 23, 2026

Copy link
Copy Markdown
Member

On GIL-enabled builds, emit a DeprecationWarning when the default implicitly empty threading.Thread() context causes a context variable lookup to differ from the context that a future release will inherit by default.

On GIL-enabled builds, emit a DeprecationWarning when the default
implicitly empty threading.Thread() context causes a context variable
lookup to differ from the context that a future release will inherit by
default.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33730002 | 📁 Comparing f0ec3e2 against main (66e313f)

  🔍 Preview build  

3 files changed
± library/threading.html
± using/cmdline.html
± whatsnew/changelog.html

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant