python / python/cpython

gen.throw() with multiple yield froms skips intermediate exceptions

Đang mở
#84,871 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

3.10 interpreter-core
Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
558

Mô tả

BPO 40694
Nosy @cjerdonek

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-05-20.04:47:05.315>
labels = ['interpreter-core', '3.10']
title = 'gen.throw() with multiple yield froms skips intermediate exceptions'
updated_at = <Date 2020-05-20.04:47:05.315>
user = 'https://github.com/cjerdonek'

bugs.python.org fields:

activity = <Date 2020-05-20.04:47:05.315>
actor = 'chris.jerdonek'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2020-05-20.04:47:05.315>
creator = 'chris.jerdonek'
dependencies = []
files = []
hgrepos = []
issue_num = 40694
keywords = []
message_count = 1.0
messages = ['369416']
nosy_count = 1.0
nosy_names = ['chris.jerdonek']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue40694'
versions = ['Python 3.10']

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Hướng nghiên cứu

Không có tệp hoặc kiểm thử nào được nêu tên. Bắt đầu từ phần xử lý generator trong interpreter-core cho gen.throw() với nhiều biểu thức yield from, tái hiện trường hợp ngoại lệ trung gian bị bỏ qua và xác định vị trí regression test liên quan. Hoàn tất khi các ngoại lệ trung gian không còn bị bỏ qua.

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
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
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
30/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.