`sqlite3` help message shows wrong EOF key on Windows
未关闭
还没有人认领这个 Issue。
stdlib
topic-sqlite3
type-bug
- 主要语言
- Python
- 星标
- 77.2k
- 派生
- 35.9k
- PR 合并指标
- PR 指标待抓取
描述
Bug report
Bug description:
# enter the interactive sqlite3 console
python -m sqlite3
# print the help message
>> .help
- expect on Windows
Enter SQL code or one of the below commands, and press enter.
.version Print underlying SQLite library version
.help Print this help message
.quit Exit the CLI, equivalent to CTRL-Z
- what we get now
Enter SQL code or one of the below commands, and press enter.
.version Print underlying SQLite library version
.help Print this help message
.quit Exit the CLI, equivalent to CTRL-D
This issue is actually found by @yihong0618
CPython versions tested on:
CPython main branch
Operating systems tested on:
Windows
Linked PRs
- gh-139106
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
从 python -m sqlite3 入口点开始,并在 Windows 上复现 .help。跟踪格式化 .quit 帮助行的路径,然后验证该消息在 Windows 上显示 CTRL-Z,同时保留其他显示的命令。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python, sqlite
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 1/5
- 预计耗时
- 1 小时以内
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100