subprocess.check_output() fails with OSError: [WinError 87] when current directory name is too long
未关闭
还没有人认领这个 Issue。
OS-windows
stdlib
topic-subprocess
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- PR 合并指标
- PR 指标待抓取
描述
| BPO | 36213 |
|---|---|
| Nosy | @pfmoore, @tjguk, @zware, @eryksun, @zooba |
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-03-06.14:37:16.359>
labels = ['type-bug', '3.8', '3.9', '3.10', 'library', 'OS-windows']
title = 'subprocess.check_output() fails with OSError: [WinError 87] when current directory name is too long'
updated_at = <Date 2021-03-16.10:48:05.183>
user = 'https://bugs.python.org/GeoffAlexander'
bugs.python.org fields:
activity = <Date 2021-03-16.10:48:05.183>
actor = 'vstinner'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)', 'Windows']
creation = <Date 2019-03-06.14:37:16.359>
creator = 'Geoff.Alexander'
dependencies = []
files = []
hgrepos = []
issue_num = 36213
keywords = []
message_count = 7.0
messages = ['337307', '337309', '337314', '337315', '337357', '337522', '388811']
nosy_count = 6.0
nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'eryksun', 'steve.dower', 'Geoff.Alexander']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue36213'
versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 subprocess.check_output 入口点及其 Windows 特有的进程启动行为开始,使用 issue 中描述的长当前目录名作为复现案例。确认 WinError 87 失败,并将该场景下成功捕获输出定义为完成标准,同时将回归覆盖添加到相关的现有 subprocess 测试中。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- backend, operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100