glob.glob with ** does not always detect symlink loops
未关闭
还没有人认领这个 Issue。
stdlib
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 558
描述
| BPO | 43875 |
|---|
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 2021-04-16.20:08:18.994>
labels = ['library', '3.9']
title = 'glob.glob with ** does not always detect symlink loops'
updated_at = <Date 2021-04-16.20:10:06.645>
user = 'https://bugs.python.org/rrt'
bugs.python.org fields:
activity = <Date 2021-04-16.20:10:06.645>
actor = 'rrt'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-04-16.20:08:18.994>
creator = 'rrt'
dependencies = []
files = []
hgrepos = []
issue_num = 43875
keywords = []
message_count = 1.0
messages = ['391253']
nosy_count = 1.0
nosy_names = ['rrt']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue43875'
versions = ['Python 3.9']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先,通过 Python's glob.glob 使用递归 ** 模式重现报告的符号链接循环案例。然后检查 glob 库的实现及其现有测试;当递归 globbing 能够一致地检测和处理符号链接循环,且不再出现报告的遗漏时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- operating-systems
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100