object.__new__ does not accept arguments if __bases__ is changed
オープン
まだ誰も着手していません。
3.7 (EOL)
3.8 (EOL)
interpreter-core
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 32768 |
|---|---|
| Nosy | @gvanrossum, @ncoghlan, @bitdancer, @ethanfurman, @serhiy-storchaka |
| Files |
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 2018-02-04.22:05:12.953>
labels = ['interpreter-core', '3.8', 'type-bug', '3.7']
title = 'object.__new__ does not accept arguments if __bases__ is changed'
updated_at = <Date 2020-12-24.20:00:05.366>
user = 'https://bugs.python.org/VA'
bugs.python.org fields:
activity = <Date 2020-12-24.20:00:05.366>
actor = 'ethan.furman'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2018-02-04.22:05:12.953>
creator = 'VA'
dependencies = []
files = ['47425']
hgrepos = []
issue_num = 32768
keywords = []
message_count = 12.0
messages = ['311622', '311656', '311667', '311679', '311696', '311716', '311731', '311772', '341692', '341693', '341782', '383703']
nosy_count = 7.0
nosy_names = ['gvanrossum', 'ncoghlan', 'r.david.murray', 'ethan.furman', 'serhiy.storchaka', 'VA', 'alexey-muranov']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue32768'
versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず bases.py で再現を実行し、bases を変更した後の object.new の動作を確認します。次に、インタープリターコア内の関連する処理を追跡し、リンクされている BPO の議論を確認して、意図された動作を判断します。フォーカスした回帰テストでこのケースを捉え、既存のオブジェクト構築を壊さずに動作が修正されれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- compilers
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 28/100