The case generator no longer reports escaping calls in conditions as an error.
Đang mở
@markshannon đang làm issue này rồi.
Từ ngày 5/6/2025.
interpreter-core
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:
In bytecodes.c this should be an error, as the code generator cannot correctly wrap the escaping call in spill code:
if (escaping_call(()) {
but this is no longer reported as an error.
This doesn't seem to be causing any problems, but I did notice it when modifying bytecodes.c recently, and it should be fixed.
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
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á.