Defer move_on_after() timer start to its use as a context manager
オープン
- 主要言語
- Python
- スター
- 2.5k
- フォーク
- 260
- 平均マージ
- 2日 8時間
- マージ済み PR(30日)
- 19
説明
Due to a historical mistake, `move_on_after()` returned a cancel scope directly, and the deadline got computed on the initial call. This does not line up with `fail_after()` which correctly defers the deadline computation to when the context manager is actually entered. This is a breaking change.
コントリビューションガイド
調査の方向性
Read the move_on_after() and fail_after() entry points and compare when each computes its deadline relative to context-manager entry. Done means move_on_after() starts its timer when the context manager is entered, matching fail_after(), while preserving the explicitly noted breaking-change behavior.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- backend
- issue の種類
- バグ
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 55/100