Add xml.tool to pretty print XML like json.tool
未关闭
还没有人认领这个 Issue。
3.9 (EOL)
stdlib
topic-XML
type-feature
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 36k
- 平均合并
- 1 天 9 小时
- 30 天内合并 PR
- 558
描述
| BPO | 37940 |
|---|---|
| Nosy | @rhettinger, @scoder, @serhiy-storchaka, @tirkarthi |
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-08-24.14:55:33.370>
labels = ['type-feature', 'library', '3.9']
title = 'Add xml.tool to pretty print XML like json.tool'
updated_at = <Date 2019-08-25.13:24:16.646>
user = 'https://github.com/tirkarthi'
bugs.python.org fields:
activity = <Date 2019-08-25.13:24:16.646>
actor = 'xtreak'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2019-08-24.14:55:33.370>
creator = 'xtreak'
dependencies = []
files = []
hgrepos = []
issue_num = 37940
keywords = []
message_count = 6.0
messages = ['350372', '350377', '350440', '350441', '350445', '350454']
nosy_count = 5.0
nosy_names = ['rhettinger', 'scoder', 'eli.bendersky', 'serhiy.storchaka', 'xtreak']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue37940'
versions = ['Python 3.9']
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先阅读 Python 现有的 json.tool 入口点,以及 issue 中提到的 Library (Lib) 区域。检查 xml.tool 对应实现应如何匹配所述的 pretty-print 行为,并在 XML 可以像 JSON 一样通过该工具进行 pretty-print 时,视为工作完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- cli
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100