python / python/cpython

Cryptic error message when creating types that don't include themselves in their MRO

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

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

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

説明

BPO 39665
Nosy @serhiy-storchaka, @pppery

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-02-17.17:00:26.647>
labels = ['interpreter-core', '3.8', 'type-bug', '3.7', '3.9']
title = "Cryptic error message when creating types that don't include themselves in their MRO"
updated_at = <Date 2020-03-26.00:03:35.085>
user = 'https://github.com/pppery'

bugs.python.org fields:

activity = <Date 2020-03-26.00:03:35.085>
actor = 'ppperry'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2020-02-17.17:00:26.647>
creator = 'ppperry'
dependencies = []
files = []
hgrepos = []
issue_num = 39665
keywords = []
message_count = 2.0
messages = ['362152', '362154']
nosy_count = 2.0
nosy_names = ['serhiy.storchaka', 'ppperry']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue39665'
versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']

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

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

はじめの一歩

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

調査の方向性

Issue にはソースファイルもテストも記載されていないため、まず BPO 39665 に記載された型作成のケースを再現し、不可解な MRO エラーを生成している interpreter-core の経路を調査してください。完了条件は、同じ無効な型定義が、正しい型作成の動作を変更することなく、明確で対処可能なエラーを報告することです。

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

評価

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

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

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