Improve error messages for non-matching `elif`/`else` statements
オープン
まだ誰も着手していません。
interpreter-core
topic-parser
type-feature
- 主要言語
- Python
- スター
- 77.2k
- フォーク
- 36k
- 平均マージ
- 1日 9時間
- マージ済み PR(30日)
- 558
説明
| BPO | 45759 |
|---|---|
| Nosy | @aroberge, @lysnikolaou, @pablogsal, @AlexWaygood, @thatbirdguythatuknownot |
| PRs |
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 2021-11-08.23:51:38.287>
labels = ['interpreter-core', 'type-bug', '3.10', '3.11']
title = 'Improve error messages for non-matching `elif`/`else` statements'
updated_at = <Date 2021-11-25.12:15:15.681>
user = 'https://github.com/thatbirdguythatuknownot'
bugs.python.org fields:
activity = <Date 2021-11-25.12:15:15.681>
actor = 'Crowthebird'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Parser']
creation = <Date 2021-11-08.23:51:38.287>
creator = 'Crowthebird'
dependencies = []
files = []
hgrepos = []
issue_num = 45759
keywords = ['patch']
message_count = 2.0
messages = ['405990', '405997']
nosy_count = 5.0
nosy_names = ['aroberge', 'lys.nikolaou', 'pablogsal', 'AlexWaygood', 'Crowthebird']
pr_nums = ['29481', '29513', '29775']
priority = 'normal'
resolution = None
stage = 'patch review'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue45759'
versions = ['Python 3.10', 'Python 3.11']
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
Parser コンポーネントから始め、PR #29481、#29513、#29775 を確認して、一致しない elif/else 文の処理案を理解してください。これらのケースで、より改善された具体的なエラーメッセージが生成され、既存の parser の動作が正しいまま維持されれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- python
- 領域
- compilers
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100