exec fails to take locals into account when running list comprehensions or functions
Đang mở
Chưa có ai nhận issue này.
3.7 (EOL)
interpreter-core
type-feature
- Ngôn ngữ chính
- Python
- Star
- 77.2k
- Fork
- 36k
- Chỉ số merge pull request
- Chỉ số pull request đang chờ
Mô tả
| BPO | 41918 |
|---|---|
| Nosy | @impact27, @havrikov |
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 2020-10-03.09:06:43.988>
labels = ['type-feature', '3.7']
title = 'exec fails to take locals into account when running list comprehensions or functions'
updated_at = <Date 2020-11-29.17:03:44.495>
user = 'https://github.com/impact27'
bugs.python.org fields:
activity = <Date 2020-11-29.17:03:44.495>
actor = 'patterns'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = []
creation = <Date 2020-10-03.09:06:43.988>
creator = 'qpeter'
dependencies = []
files = []
hgrepos = []
issue_num = 41918
keywords = []
message_count = 5.0
messages = ['377862', '378614', '380876', '380877', '382077']
nosy_count = 4.0
nosy_names = ['qpeter', 'alex0kamp', 'havrikov', 'patterns']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue41918'
versions = ['Python 3.7']
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
Issue không nêu tệp, test hay entry point nào. Hãy bắt đầu bằng cách tái hiện cách exec xử lý locals khi chạy list comprehension hoặc các hàm, sau đó xác định hành vi mong đợi và tìm các test liên quan của trình thông dịch; công việc được xem là hoàn tất khi hành vi locals đã thống nhất được triển khai và được bao phủ bằng test.
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
- Lĩnh vực
- compilers
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 25/100