python / python/cpython

More descriptive error message than "too many values to unpack"

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

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

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

説明

BPO 39816
Nosy @serhiy-storchaka, @ZackerySpytz, @tirkarthi, @alexmojaki, @aeros
PRs
  • python/cpython#19036
  • 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-03-01.19:35:48.378>
    labels = ['interpreter-core', 'type-feature', '3.9']
    title = 'More descriptive error message than "too many values to unpack"'
    updated_at = <Date 2021-09-02.08:29:14.157>
    user = 'https://github.com/alexmojaki'
    

    bugs.python.org fields:

    activity = <Date 2021-09-02.08:29:14.157>
    actor = 'nemeskeyd'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2020-03-01.19:35:48.378>
    creator = 'alexmojaki'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39816
    keywords = ['patch']
    message_count = 5.0
    messages = ['363083', '363093', '363122', '394295', '400901']
    nosy_count = 7.0
    nosy_names = ['serhiy.storchaka', 'nemeskeyd', 'ZackerySpytz', 'xtreak', 'alexmojaki', 'aeros', 'malcomvx']
    pr_nums = ['19036']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue39816'
    versions = ['Python 3.9']
    

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

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

    はじめの一歩

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

    調査の方向性

    payload にはソースファイルもテストも記載されていません。まず、移行された issue と python/cpython#19036 を読み、interpreter-core のコンテキストを入口としてください。既存の issue と PR の議論で指定されているとおり、unpacking の失敗時に「too many values to unpack」よりも有用な詳細が報告されれば完了です。

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

    評価

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

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

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