add anyio.Sequencer to mirror trio.testing.Sequencer
未关闭
enhancement
- 主要语言
- Python
- 星标
- 2.5k
- 派生
- 260
- 平均合并
- 2 天 8 小时
- 30 天内合并 PR
- 19
描述
eg by copying https://github.com/python-trio/trio/blob/6754c74eacfad9cc5c92d5c24727a2f3b620624e/trio/testing/_sequencer.py#L15-L82 into the asyncio backend
but changed to use @async_generator.asynccontextmanager or @contextlib.asynccontextmanager depending on what's available
贡献指南
调研方向
Start by reading Trio's testing/_sequencer.py lines 15-82 from the linked revision, then inspect AnyIO's asyncio backend. Implement the corresponding anyio.Sequencer there, using async_generator.asynccontextmanager or contextlib.asynccontextmanager as available; done means the asyncio backend mirrors the referenced Trio behavior.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 42/100