IDLE/pyclbr failures for __main__
Đang mở
@terryjreedy đang làm issue này rồi.
Từ ngày 11/4/2024.
topic-IDLE
type-bug
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
Bug report
This discuss post says that IDLE's module browser, which uses pyclrb, fails if the file name is __main__, the filename has a '.', or the file has a syntax error. The first is the fault of of importlib.util._find_spec_from_path('main') failing (##117742). I need to verify the second. The third is a result of switching from custom parsing code that passed over syntax errors to ast.parse which does not -- and not noticing the possibility of exceptions and taking them into account. Since IDLE seems to hang, it is not clear where, and whether IDLE gets the exception.
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.
Đánh giá
Issue này chưa được đánh giá.