python / python/cpython

Python doesn't exit with proper resultcode on SIGINT in multiprocessing.Process

Đang mở
#89,186 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.10 3.11 3.8 (EOL) 3.9 (EOL) interpreter-core topic-multiprocessing
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 45023
Files
  • test.py: reproducible example
  • 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 2021-08-26.22:56:33.544>
    labels = ['interpreter-core', '3.8', '3.9', '3.10', '3.11']
    title = "Python doesn't exit with proper resultcode on SIGINT in multiprocessing.Process"
    updated_at = <Date 2021-08-26.22:56:33.544>
    user = 'https://bugs.python.org/ambwrig'
    

    bugs.python.org fields:

    activity = <Date 2021-08-26.22:56:33.544>
    actor = 'ambwrig'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2021-08-26.22:56:33.544>
    creator = 'ambwrig'
    dependencies = []
    files = ['50237']
    hgrepos = []
    issue_num = 45023
    keywords = []
    message_count = 1.0
    messages = ['400384']
    nosy_count = 1.0
    nosy_names = ['ambwrig']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue45023'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10', 'Python 3.11']
    

    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 với ví dụ có thể tái hiện trong test.py và chạy nó để quan sát kết quả thoát khi multiprocessing.Process nhận SIGINT. Truy vết hành vi liên quan của lõi trình thông dịch và multiprocessing, sau đó xác minh rằng tiến trình thoát với mã kết quả như mong đợi và hồi quy được một bài kiểm thử bao phủ.

    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
    operating-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
    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.