python / python/cpython

modulefinder chokes on numpy - dereferencing None in spec.loader

オープン
#84,530 コメント 11 件 リアクション 1 件 担当者 0 名 GitHub で見る

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

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

説明

BPO 40350
Nosy @warsaw, @ericvsmith, @ericsnowcurrently, @FFY00, @caje731
PRs
  • python/cpython#19917
  • python/cpython#29196
  • Files
  • fulllog.txt
  • 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-04-21.07:33:37.811>
    labels = ['3.8', 'type-bug', 'library', '3.9']
    title = 'modulefinder chokes on numpy - dereferencing None in spec.loader'
    updated_at = <Date 2021-10-23.21:13:12.303>
    user = 'https://bugs.python.org/GregWhiteley'
    

    bugs.python.org fields:

    activity = <Date 2021-10-23.21:13:12.303>
    actor = 'FFY00'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2020-04-21.07:33:37.811>
    creator = 'Greg Whiteley'
    dependencies = []
    files = ['49079']
    hgrepos = []
    issue_num = 40350
    keywords = ['patch']
    message_count = 6.0
    messages = ['366912', '367856', '367943', '368112', '380087', '404911']
    nosy_count = 7.0
    nosy_names = ['barry', 'eric.smith', 'dkasak', 'eric.snow', 'FFY00', 'cajetan.rodrigues', 'Greg Whiteley']
    pr_nums = ['19917', '29196']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue40350'
    versions = ['Python 3.8', 'Python 3.9']
    

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

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

    はじめの一歩

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

    調査の方向性

    まず fulllog.txt と issue で参照されている既存の PR を読み、次に modulefinder が numpy をどのように処理し、spec.loader にアクセスしているかを追跡します。None のデリファレンスを確認し、done を、この numpy のケースをクラッシュせずに処理できることと定義します。回帰テストのカバレッジは、既存のパッチに関する議論から特定します。

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

    評価

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

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

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