`errors` parameter missing in `subprocess.call()`/`subprocess.check_call()`
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 2/5
- 预计耗时
- 1-3 小时
- 新手友好度
- 72/100
- Issue 类型
- 缺陷
- 描述清晰度
- 描述清楚
- 活跃度
- 活跃
- 技术栈
- python
调研方向
工作位于 stdlib/subprocess.pyi:subprocess.call 和 subprocess.check_call 的重载(约第 498-624 行)缺少 Popen 重载(约第 1065 行)所接受的 errors 参数。先比较一个 Popen 重载与对应的 call 重载,看看 encoding 和 errors 是如何一起进行类型标注的。完成标准是:每个相关的 call/check_call 重载中都出现与 Popen 相同类型的 errors,并且仓库的 stub 测试和 mypy 检查仍然通过。
由索引模型根据 Issue 内容生成。
描述
According to the Python documentation and the comments within the stub file, the functions subprocess.call() and subprocess.check_call() should share the same parameters as subprocess.Popen except timeout. However, the errors parameter found in the Popen interface is missing in subprocess.call and subprocess.check_call.
- 主要语言
- Python
- 星标
- 5.1k
- 派生
- 2.1k
- 平均合并
- 1 天 22 小时
- 30 天内合并 PR
- 64
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
python/typeshed 的其他 Issue
-
false alarm on decode call可能已有人在做 @jw9829 于 18 天前认领。 未关闭help wanted stubs: false positive
难度 2/5 1-3 小时 新手友好度 76/100
python/typeshed#16441 · 1 条评论 ·
维护者通常 1 天内回复
-
Add stubs for stdlib `_colorize` module可能已有人在做 @anistark 于 35 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
python/typeshed#16361 · 2 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
[rasterio] `transform.rowcol` return typing possibly incorrect?可能已有人在做 @ryux1 于 39 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
python/typeshed#16331 · 1 条评论 ·
维护者通常 1 天内回复
-
Don't run pyright basic checks on projects with strict pyright settings in CI可能已有人在做 @Mohith1612 于 55 天前认领。 未关闭project: infrastructure
难度 2/5 1-3 小时 新手友好度 68/100
python/typeshed#16005 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
Workflow.schedule stops when a cron deadline passes before sleep可能已有人在做 @HuaTNA 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 82/100
维护者通常 1 天内回复
-
[Bug] HiveDialect shares its colspecs dict with SQLAlchemy's DefaultDialect (python/pyhive)可能已有人在做 @rusackas 今天认领。 未关闭
难度 1/5 1 小时以内 新手友好度 80/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 80/100
维护者通常 1 天内回复
-
[20.0] hr_work_entry: Duration column of Export Time Entries is truncated to whole hours可能已有人在做 @odooaktiv 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
维护者通常 1 天内回复
-
fix formatting of the sample database page of the docs可能已有人在做 @Aaqibhafeezkhan 今天认领。 未关闭documentation good first issue help wanted
难度 1/5 1 小时以内 新手友好度 72/100
chaoss/CollectOSS#544 · 1 条评论 ·
维护者通常 1 天内回复