chore: TaskGroup 警告标注 — 记录已知限制 #19

Merged
shaotao merged 1 commit from fix/taskgroup-warning into main 2026-06-12 20:06:50 +08:00
Owner

_run_concurrent_taskslogger.warning 并在 docstring 中说明:Python 3.14 的 TaskGroup 不会 cancel while True 循环的子任务,故当前保留手动 create_task + cancel + gather 模式。

`_run_concurrent_tasks` 加 `logger.warning` 并在 docstring 中说明:Python 3.14 的 TaskGroup 不会 cancel `while True` 循环的子任务,故当前保留手动 create_task + cancel + gather 模式。
_run_concurrent_tasks 加 logger.warning + docstring 说明:
不使用 asyncio.TaskGroup 的原因(Python 3.14 不会 cancel
无限循环子任务),引导开发者详见 ROADMAP P2。
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
bixiu/bixiweave!19
No description provided.