Skip to content

[threading] Ignore Condition.locked in Python 3.15 - #16279

Merged
srittau merged 2 commits into
python:mainfrom
donbarbos:threading-Condition-locked
Aug 21, 2026
Merged

[threading] Ignore Condition.locked in Python 3.15#16279
srittau merged 2 commits into
python:mainfrom
donbarbos:threading-Condition-locked

Conversation

@donbarbos

Copy link
Copy Markdown
Contributor

The entry exists since the method was added in Python 3.14:

# Condition functions are exported in __init__
threading.Condition.locked

Source code: https://github.com/python/cpython/blob/f71fbc558a3051781297106f53820b04c217c13d/Lib/threading.py#L291

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

@srittau
srittau merged commit 8a3c451 into python:main Aug 21, 2026
88 checks passed
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.

2 participants