Nominal decorator function call syntax is inconsistent with regular function calls

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

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

評価

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

調査の方向性

BPO-32024 の議論とその依存関係である BPO-32012 から始め、デコレータ呼び出し構文の問題と想定されている解決策を理解します。次に、Python 3.7 の関連するドキュメントのセクションを見つけ、構文を説明または整合させるために必要なドキュメントの変更を定義します。ドキュメント内で不一致が明確に扱われれば完了です。

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

説明

3.7 (EOL) docs type-feature
BPO 32024
Nosy @gvanrossum, @ncoghlan, @serhiy-storchaka
Dependencies
  • bpo-32012: Disallow ambiguous syntax f(x for x in [1],)
  • 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 2017-11-14.13:09:52.051>
    labels = ['type-feature', '3.7', 'docs']
    title = 'Nominal decorator function call syntax is inconsistent with regular function calls'
    updated_at = <Date 2017-11-15.08:57:43.038>
    user = 'https://github.com/ncoghlan'
    

    bugs.python.org fields:

    activity = <Date 2017-11-15.08:57:43.038>
    actor = 'serhiy.storchaka'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation']
    creation = <Date 2017-11-14.13:09:52.051>
    creator = 'ncoghlan'
    dependencies = ['32012']
    files = []
    hgrepos = []
    issue_num = 32024
    keywords = []
    message_count = 3.0
    messages = ['306205', '306234', '306258']
    nosy_count = 4.0
    nosy_names = ['gvanrossum', 'ncoghlan', 'docs@python', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue32024'
    versions = ['Python 3.7']
    

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

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

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

    はじめの一歩

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

    python/cpython のほかの issue

    python/cpython の issue をすべて見る

    似ている issue

    Python の issue をもっと見る

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

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