Allow pattern matching / substitutions
还没有人认领这个 Issue。
评估
调研方向
先阅读 issue 和所引用的 httpcore unasync.py 示例,以了解提议的模式匹配和替换行为。然后检查 unasync 仓库的入口点和测试(如果有),以确定 token 目标定位的实现位置。当该工具支持基于 regex 的目标定位和替换,并且行为已有文档说明和测试时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
Think this would be a generally very useful feature. Easy to structure your code so that various things have Async/Sync prefixes, and then you can just target them all with a regex instead of having to list every token.
This is something that httpcore are doing in their custom unasync script https://github.com/encode/httpcore/blob/0.11.1/unasync.py#L10
- 主要语言
- Python
- 星标
- 108
- 派生
- 16
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python-trio/unasync 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 48/100
python-trio/unasync#79 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 32/100
python-trio/unasync#78 · 1 条评论 · 1 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 35/100
python-trio/unasync#74 · 4 条评论 · 1 个 reaction ·
-
JIT未关闭
难度 5/5 一周以上 新手友好度 20/100
python-trio/unasync#72 · 3 条评论 ·
-
难度 3/5 1-2 天 新手友好度 45/100
python-trio/unasync#69 · 1 条评论 · 1 个 reaction ·
查看 python-trio/unasync 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 83/100
PedestrianDynamics/pyFDS-Evac#766 ·
维护者通常 1 天内回复
-
难度 1/5 1-3 小时 新手友好度 91/100
alchaincyf/nuwa-skill#86 ·
-
难度 2/5 1-3 小时 新手友好度 76/100
维护者通常 2 天内回复
-
Docs Needs Triage
难度 1/5 1 小时以内 新手友好度 88/100
pandas-dev/pandas#71055 ·
维护者通常 1 天内回复
-
[Bug]: graphify reads files that git's global ignore file hides可能已有人在做 @smngvlkz 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
Graphify-Labs/graphify#4335 · 1 条评论 ·
维护者通常 1 天内回复