MagicStack / MagicStack/uvloop
[feature request] add loop._run_once and loop._set_is_runnning api to easy the process of OS gui event loop integrate
未关闭
还没有人认领这个 Issue。
- 主要语言
- Cython
- 星标
- 11.9k
- 派生
- 616
- PR 合并指标
- 30 天内没有已合并 PR
描述
-
uvloop version:
latest -
Python version:
3.11.2 -
Platform:
All, and testing on Linux -
Can you reproduce the bug with
PYTHONASYNCIODEBUGin env?:
n.a -
Does uvloop behave differently from vanilla asyncio? How?:
no -
Purpose:
Add a public API to
- setting running state
- allow run_once of event loop
- Background:
I want to pull the event from backend_fd from another process and process them on os GUI event loop which like electron, but uvloop has no public API to run_once and keep _is_running
- Refs:
贡献指南
这个仓库没有索引到贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先检查所请求的入口点 loop._run_once 和 loop._set_is_runnning,以及 issue 中描述的 backend_fd 集成。阅读链接的 asyncio/Tkinter 讨论,以了解所提议的事件循环交互。完成条件是确定一个支持设置运行状态并为 OS GUI 集成运行一次迭代的公共 API。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend, operating-systems
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100