User-created types with wrong __new__ can be instantiated
オープン
まだ誰も着手していません。
3.7 (EOL)
3.8 (EOL)
interpreter-core
type-bug
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- PR マージ指標
- PR 指標を取得中
説明
| BPO | 34362 |
|---|---|
| Nosy | @ncoghlan, @ericsnowcurrently, @serhiy-storchaka, @pppery, @VadimPushtaev |
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-08-08.19:07:33.344>
labels = ['interpreter-core', '3.8', 'type-bug', '3.7']
title = 'User-created types with wrong __new__ can be instantiated'
updated_at = <Date 2018-08-09.17:52:28.761>
user = 'https://github.com/pppery'
bugs.python.org fields:
activity = <Date 2018-08-09.17:52:28.761>
actor = 'ppperry'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2018-08-08.19:07:33.344>
creator = 'ppperry'
dependencies = []
files = []
hgrepos = []
issue_num = 34362
keywords = []
message_count = 4.0
messages = ['323297', '323299', '323336', '323347']
nosy_count = 5.0
nosy_names = ['ncoghlan', 'eric.snow', 'serhiy.storchaka', 'ppperry', 'Vadim Pushtaev']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue34362'
versions = ['Python 2.7', 'Python 3.6', 'Python 3.7', 'Python 3.8']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
この issue は Python の Interpreter Core に関するものですが、ソースファイル、テスト、エントリーポイントのいずれも指定していません。まず、無効な new を持つユーザー作成型について報告された挙動を再現し、その後、インスタンス化を許可している interpreter の経路を追跡してください。完了条件は、無効な型をインスタンス化できなくなり、回帰テストによって修正後の挙動が記録されていることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- compilers
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 35/100