python / python/cpython

calling super() causes __class__ to be not defined when sys.settrace(trace) is set

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

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

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

説明

BPO 36606
Nosy @ncoghlan, @nedbat, @benjaminp, @voidspace, @ericsnowcurrently, @tirkarthi

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-04-11.17:18:57.188>
labels = ['interpreter-core', 'type-bug', '3.8']
title = 'calling super() causes __class__ to be not defined when sys.settrace(trace) is set'
updated_at = <Date 2019-04-11.17:18:57.188>
user = 'https://github.com/tirkarthi'

bugs.python.org fields:

activity = <Date 2019-04-11.17:18:57.188>
actor = 'xtreak'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2019-04-11.17:18:57.188>
creator = 'xtreak'
dependencies = []
files = []
hgrepos = []
issue_num = 36606
keywords = []
message_count = 1.0
messages = ['339988']
nosy_count = 6.0
nosy_names = ['ncoghlan', 'nedbat', 'benjamin.peterson', 'michael.foord', 'eric.snow', 'xtreak']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue36606'
versions = ['Python 3.8']

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

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

はじめの一歩

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

調査の方向性

ファイルやテストは指定されていません。まず、super()、class、sys.settrace(trace) の呼び出し間の報告された相互作用を再現し、その後 interpreter-core の実装を通して追跡してください。動作を理解し、回帰テストで修正できれば完了ですが、issue では期待される結果がこれ以上詳しく定義されていません。

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

評価

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

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

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