pty.py: pty.spawn hangs after client disconnect over nc (netcat)

Đang mở
#73,240 9 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ó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/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
operating-systems

Hướng nghiên cứu

Bắt đầu với pty.py và phần bao phủ của test_pty.py được tham chiếu trong các patch đã tải lên; tái hiện hiện tượng pty.spawn bị treo sau khi client netcat ngắt kết nối. Xem xét pty.patch và test_pty_and_doc.patch hiện có, sau đó xác nhận rằng các ca kiểm thử đều đạt mà không làm hồi quy hành vi trên các hệ thống Unix được hỗ trợ.

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

Mô tả

3.7 (EOL) stdlib type-feature
BPO 29054
Nosy @vstinner, @vadmium, @diekmann
Files
  • pty.patch: Hacky patch with placeholder
  • pty.patch: Patch with test cases. If the tests are not red on other obscure UNIXes, consider merging.
  • pty.patch: Same, but without git patch header
  • pty.patch: Same, but without git patch header. Why does the review tool not show test_pty.py?
  • pty_and_tests.patch: Same, but less broken diff format.
  • test_pty_and_doc.patch: Document and test existing behavior, no change in behavior.
  • 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 2016-12-23.14:17:17.681>
    labels = ['3.7', 'type-feature', 'library']
    title = 'pty.py: pty.spawn hangs after client disconnect over nc (netcat)'
    updated_at = <Date 2017-01-06.12:37:37.535>
    user = 'https://github.com/diekmann'
    

    bugs.python.org fields:

    activity = <Date 2017-01-06.12:37:37.535>
    actor = 'Cornelius Diekmann'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2016-12-23.14:17:17.681>
    creator = 'Cornelius Diekmann'
    dependencies = []
    files = ['46006', '46010', '46012', '46013', '46015', '46023']
    hgrepos = []
    issue_num = 29054
    keywords = ['patch']
    message_count = 9.0
    messages = ['283880', '283899', '283904', '283905', '283909', '283912', '283952', '284494', '284816']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'martin.panter', 'Cornelius Diekmann']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29054'
    versions = ['Python 3.7']
    

    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.