python / python/cpython

Compile time textwrap.dedent() equivalent for str or bytes literals

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

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

interpreter-core type-feature
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

BPO 36906
Nosy @rhettinger, @terryjreedy, @gpshead, @stevendaprano, @methane, @serhiy-storchaka, @MojoVampire, @Carreau, @pablogsal, @remilapeyre, @Marco-Sulla, @iforapsy, @jtojnar
PRs
  • python/cpython#13445
  • 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 = 'https://github.com/gpshead'
    closed_at = None
    created_at = <Date 2019-05-13.18:40:31.178>
    labels = ['interpreter-core', 'type-feature', '3.10']
    title = 'Compile time textwrap.dedent() equivalent for str or bytes literals'
    updated_at = <Date 2021-12-20.23:57:51.965>
    user = 'https://github.com/gpshead'
    

    bugs.python.org fields:

    activity = <Date 2021-12-20.23:57:51.965>
    actor = 'iforapsy'
    assignee = 'gregory.p.smith'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2019-05-13.18:40:31.178>
    creator = 'gregory.p.smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 36906
    keywords = ['patch']
    message_count = 46.0
    messages = ['342373', '342407', '342420', '342429', '342477', '342488', '342569', '342600', '342909', '342914', '342915', '342916', '342917', '342918', '342927', '342928', '342931', '342938', '342962', '342965', '342968', '342972', '343961', '343991', '350162', '356153', '356154', '356155', '356160', '356162', '356182', '356193', '356198', '356203', '356204', '365688', '381540', '381544', '381545', '381546', '381584', '381599', '381602', '381605', '382456', '398270']
    nosy_count = 14.0
    nosy_names = ['rhettinger', 'terry.reedy', 'gregory.p.smith', 'steven.daprano', 'methane', 'serhiy.storchaka', 'josh.r', 'mbussonn', 'pablogsal', 'remi.lapeyre', 'Marco Sulla', 'iforapsy', 'Miguel Amaral', 'jtojnar']
    pr_nums = ['13445']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue36906'
    versions = ['Python 3.10']
    

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

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

    はじめの一歩

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

    調査の方向性

    issue にはソースファイルもテストも記載されていません。まず、リンクされている PR python/cpython#13445 と Interpreter Core のコンテキストを確認してください。完了には、str または bytes リテラル向けに要求された textwrap.dedent() 相当機能をコンパイル時に実装し、受け入れられる必要があります。

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

    評価

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

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

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