Nested finally in generators don't follow PEP 342

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

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

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
20/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
python
Lĩnh vực
compilers

Hướng nghiên cứu

Start by reading the linked generator_finalization.py file and the issue title in the context of PEP 342. Investigate the Python interpreter's handling of nested finally blocks in generators and determine the expected behavior from the report. Done means the behavior conforms to PEP 342, with coverage for the reported case.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

interpreter-core pending
BPO 1542308
Nosy @gvanrossum, @pjeby, @etrepum, @pitrou
Files
  • generator_finalization.py
  • 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 2006-08-17.22:56:50.000>
    labels = ['interpreter-core']
    title = "Nested finally in generators don't follow PEP 342"
    updated_at = <Date 2014-03-23.00:57:03.566>
    user = 'https://github.com/etrepum'
    

    bugs.python.org fields:

    activity = <Date 2014-03-23.00:57:03.566>
    actor = 'BreamoreBoy'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2006-08-17.22:56:50.000>
    creator = 'bob.ippolito'
    dependencies = []
    files = ['2114']
    hgrepos = []
    issue_num = 1542308
    keywords = []
    message_count = 8.0
    messages = ['29543', '29544', '29545', '29546', '29547', '29548', '68152', '214530']
    nosy_count = 5.0
    nosy_names = ['gvanrossum', 'pje', 'bob.ippolito', 'pitrou', 'BreamoreBoy']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'languishing'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue1542308'
    versions = ['Python 2.5']
    

    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

    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.

    Issue khác của python/cpython

    Tất cả issue của python/cpython

    Issue tương tự

    Thêm issue về Python

    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.