subprocess.list2cmdline() should not escape wrapping single/double quotes
未关闭
还没有人认领这个 Issue。
3.9 (EOL)
OS-windows
stdlib
topic-subprocess
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 558
描述
| BPO | 37659 |
|---|---|
| Nosy | @pfmoore, @tjguk, @zware, @eryksun, @zooba, @kejxu |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee = None
closed_at = None
created_at = <Date 2019-07-23.17:17:40.645>
labels = ['type-bug', '3.9', 'OS-windows']
title = 'subprocess.list2cmdline() should not escape wrapping single/double quotes'
updated_at = <Date 2019-07-24.18:47:58.688>
user = 'https://github.com/kejxu'
bugs.python.org fields:
activity = <Date 2019-07-24.18:47:58.688>
actor = 'steve.dower'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Windows']
creation = <Date 2019-07-23.17:17:40.645>
creator = 'kejxu'
dependencies = []
files = []
hgrepos = []
issue_num = 37659
keywords = []
message_count = 3.0
messages = ['348342', '348343', '348400']
nosy_count = 6.0
nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'kejxu']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue37659'
versions = ['Python 3.9']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 subprocess.list2cmdline() 入口点开始,检查包含包裹用单引号或双引号的 Windows 命令行参数是如何处理的。查找现有的覆盖命令行引号处理的 subprocess 测试,然后添加能够展示预期的未转义包裹引号的覆盖;当行为与 issue 标题一致时即表示完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- cli, operating-systems
- Issue 类型
- 缺陷
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100