importing does not dispatch to __builtins__.__getitem__ to lookup __import__

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

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

評価

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

調査の方向性

dict_lookup_demo.py(報告された挙動を示すリンク先のデモンストレーション)から始め、Python Interpreter Core の import lookup path を確認してください。この issue では望ましい dispatch のセマンティクスが指定されていないため、完了条件と回帰カバレッジを定義する前に、元の BPO の議論から期待される挙動を確認してください。

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

説明

3.10 3.11 3.9 (EOL) interpreter-core type-feature
BPO 44643
Nosy @brettcannon, @stevendaprano, @pxeger
Files
  • dict_lookup_demo.py: Demonstration of this behaviour
  • 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-07-15.08:30:05.599>
    labels = ['interpreter-core', 'type-feature', '3.9', '3.10', '3.11']
    title = 'importing does not dispatch to __builtins__.__getitem__ to lookup __import__'
    updated_at = <Date 2021-07-15.10:51:35.067>
    user = 'https://github.com/pxeger'
    

    bugs.python.org fields:

    activity = <Date 2021-07-15.10:51:35.067>
    actor = 'pxeger'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2021-07-15.08:30:05.599>
    creator = 'pxeger'
    dependencies = []
    files = ['50151']
    hgrepos = []
    issue_num = 44643
    keywords = []
    message_count = 6.0
    messages = ['397531', '397532', '397533', '397534', '397535', '397536']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'steven.daprano', 'pxeger']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue44643'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

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

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

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

    はじめの一歩

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

    python/cpython のほかの issue

    python/cpython の issue をすべて見る

    似ている issue

    Python の issue をもっと見る

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

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