python / python/cpython

concurrent.futures.ProcessPoolExecutor is unable to forward exceptions with state.

Đang mở
#86,935 1 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.9 (EOL) stdlib topic-multiprocessing 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ả

BPO 42769
Files
  • repro.py: Minimal code example which illustrate the bug.
  • 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-12-28.16:37:04.784>
    labels = ['type-bug', 'library', '3.9']
    title = 'concurrent.futures.ProcessPoolExecutor is unable to forward exceptions with state.'
    updated_at = <Date 2020-12-28.16:37:04.784>
    user = 'https://bugs.python.org/damienlevac'
    

    bugs.python.org fields:

    activity = <Date 2020-12-28.16:37:04.784>
    actor = 'damien.levac'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-12-28.16:37:04.784>
    creator = 'damien.levac'
    dependencies = []
    files = ['49703']
    hgrepos = []
    issue_num = 42769
    keywords = []
    message_count = 1.0
    messages = ['383903']
    nosy_count = 1.0
    nosy_names = ['damien.levac']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue42769'
    versions = ['Python 3.9']
    

    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

    Bắt đầu bằng cách chạy repro.py được liên kết để quan sát cách ProcessPoolExecutor không chuyển tiếp trạng thái của exception. Lần theo đường đi của ProcessPoolExecutor chịu trách nhiệm truyền các exception của worker và xác định các test hiện có bao quát hành vi này; hoàn thành có nghĩa là bản tái hiện giữ nguyên trạng thái của exception khi được chuyển tiếp.

    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
    backend, distributed-systems
    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
    35/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.