python / python/cpython

Interpreter exit blocks waiting for futures of shut-down ThreadPoolExecutors

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

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

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

説明

BPO 36780
Nosy @brianquinlan, @pitrou, @hniksic, @asvetlov, @Bluehorn, @aeros
PRs
  • python/cpython#13250
  • Files
  • pool-shutdown
  • 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 2019-05-03.09:28:03.892>
    labels = ['3.7', '3.8', 'type-bug', 'library']
    title = 'Interpreter exit blocks waiting for futures of shut-down ThreadPoolExecutors'
    updated_at = <Date 2020-04-15.02:39:49.873>
    user = 'https://github.com/hniksic'
    

    bugs.python.org fields:

    activity = <Date 2020-04-15.02:39:49.873>
    actor = 'aeros'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2019-05-03.09:28:03.892>
    creator = 'hniksic'
    dependencies = []
    files = ['48297']
    hgrepos = []
    issue_num = 36780
    keywords = ['patch']
    message_count = 19.0
    messages = ['341329', '341515', '341573', '341630', '341734', '341737', '341992', '342259', '342260', '342261', '366372', '366415', '366419', '366421', '366424', '366431', '366437', '366439', '366479']
    nosy_count = 6.0
    nosy_names = ['bquinlan', 'pitrou', 'hniksic', 'asvetlov', 'torsten', 'aeros']
    pr_nums = ['13250']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue36780'
    versions = ['Python 3.7', 'Python 3.8']
    

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

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

    はじめの一歩

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

    調査の方向性

    まず PR python/cpython#13250 とアップロードされた pool-shutdown ファイルを確認してください。この issue は、インタープリターの終了、futures、シャットダウンされた ThreadPoolExecutors に関するものです。報告された終了時の動作を再現し、提案された patch と比較してください。完了条件は、シャットダウンされた executor の futures を待機するためにインタープリターの終了がブロックされなくなることです。

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

    評価

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

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

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