Incorrect behaviour of super() in a metaclass-created subclass

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

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

評価

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

調査の方向性

Start by reading the linked bug.py test case and reproducing its metaclass-created subclass behavior with the affected Python versions. Then inspect the interpreter-core implementation related to super() and metaclass-created classes. Done means the test case produces the expected super() behavior, with regression coverage added if the relevant test location can be identified.

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

説明

interpreter-core type-bug
BPO 20581
Nosy @ronaldoussoren, @bitdancer, @jdetrey
Files
  • bug.py: Test case
  • 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 2014-02-10.12:13:22.167>
    labels = ['interpreter-core', 'type-bug']
    title = 'Incorrect behaviour of super() in a metaclass-created subclass'
    updated_at = <Date 2014-02-25.20:19:20.099>
    user = 'https://github.com/jdetrey'
    

    bugs.python.org fields:

    activity = <Date 2014-02-25.20:19:20.099>
    actor = 'ronaldoussoren'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2014-02-10.12:13:22.167>
    creator = 'jdetrey'
    dependencies = []
    files = ['34020']
    hgrepos = []
    issue_num = 20581
    keywords = []
    message_count = 2.0
    messages = ['210829', '210837']
    nosy_count = 3.0
    nosy_names = ['ronaldoussoren', 'r.david.murray', 'jdetrey']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue20581'
    versions = ['Python 3.3', 'Python 3.4', 'Python 3.5']
    

    主要言語
    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 を短くまとめたダイジェスト。