`sqlite3` help message shows wrong EOF key on Windows
Đang mở
Chưa có ai nhận issue này.
stdlib
topic-sqlite3
type-bug
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 35.9k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu với entry point python -m sqlite3 và tái hiện .help trên Windows. Theo dõi đường đi định dạng dòng trợ giúp của .quit, sau đó xác minh rằng thông báo ghi CTRL-Z trên Windows trong khi vẫn giữ nguyên các lệnh khác được hiển thị.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python, sqlite
- Lĩnh vực
- cli
- Loại issue
- Lỗi
- Độ khó
- 1/5
- Thời gian dự kiến
- Dưới một giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100