python / python/cpython

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

オープン
#73,240 コメント 9 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

3.7 (EOL) stdlib type-feature
主要言語
Python
スター
77.2k
フォーク
36k
平均マージ
1日 9時間
マージ済み PR(30日)
558

説明

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']
    

    コントリビューションガイド

    コントリビューションガイドを開く

    はじめの一歩

    1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
    2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
    3. リポジトリをフォークし、ブランチを切って変更します。
    4. issue 番号を参照したプルリクエストを送ります。

    調査の方向性

    アップロードされたパッチで参照されている pty.py と test_pty.py のカバレッジから始め、netcat クライアントの切断後に pty.spawn がハングする問題を再現してください。既存の pty.patch と test_pty_and_doc.patch を確認し、そのうえで、サポート対象の Unix システムの動作を後退させることなくテストケースに合格することを確認してください。

    索引モデルが issue の本文から書いたものです。

    評価

    技術スタック
    python
    領域
    operating-systems
    issue の種類
    バグ
    難易度
    4/5
    見積もり時間
    3〜5日
    活発さ
    停滞
    明瞭さ
    説明が足りない
    初心者へのやさしさ
    25/100

    新しい issue をメールで受け取る

    初心者向けの GitHub issue を短くまとめたダイジェスト。