Proofline

A cached `set()` bypasses the replacement setter.

thekarannagpal/sdk-python#1Reviewed commit 63c2476

Warning · Concurrency

If an overridden `wait()` has not yet registered a waiter, an immediate `clear()` erases the only evidence of cancellation.

Impact

The final backoff can return `TIMED_OUT` instead of `STOPPED` after cancellation before the deadline.

Recommended action

Register an independent event waiter before starting the subclass coroutine.

Cited code

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