Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions stdlib/@tests/stubtest_allowlists/py314.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ concurrent.interpreters._queues.UNBOUND_REMOVE

importlib.util.Loader.exec_module # See Lib/importlib/_abc.py. Might be defined for backwards compatibility

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

# ====================================
# Pre-existing errors from Python 3.13
Expand Down
3 changes: 3 additions & 0 deletions stdlib/threading.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,9 @@ class Condition:
) -> None: ...
def acquire(self, blocking: bool = True, timeout: float = -1) -> bool: ...
def release(self) -> None: ...
if sys.version_info >= (3, 14):
def locked(self) -> bool: ...

def wait(self, timeout: float | None = None) -> bool: ...
def wait_for(self, predicate: Callable[[], _T], timeout: float | None = None) -> _T: ...
def notify(self, n: int = 1) -> None: ...
Expand Down