Proofline

The sync wait accepts `threading.Event` subclasses but discards a successful `wait()` if notification bypasses the private `_cond` hook.

thekarannagpal/sdk-python#1Reviewed commit 7533b73

Warning · Api contract

Impact

A signal during the final backoff can return `TIMED_OUT` instead of `STOPPED` if the waiter resumes after the deadline.

Recommended action

Use a cancellation primitive that records signal time explicitly, or reject unsupported event implementations at entry.

Cited code

Checked
Pull request code. The environment was not checked.
Status
Completed
Started
Completed