Unicode and ascii regular expressions do not agree on ascii space characters

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

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

評価

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

調査の方向性

まず unicode-ascii-space.py を実行して、報告された Unicode と ASCII の正規表現クラス間の差異を再現します。リンクされた issue の議論を読み、期待される動作を特定してから、CPython の関連する正規表現の実装とテストを探します。報告された ASCII 空白文字について合意された動作が一貫しており、回帰テストでカバーされていれば完了です。

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

説明

stdlib topic-regex topic-unicode type-feature
BPO 45869
Nosy @ezio-melotti, @stevendaprano, @jorants, @arhadthedev
Files
  • unicode-ascii-space.py: Script that prints all differences in regex classes for ascii characters with or without re.A
  • 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-22.13:27:59.303>
    labels = ['expert-regex', 'type-feature', '3.11']
    title = 'Unicode and acii regular expressions do not agree on ascii space characters'
    updated_at = <Date 2021-11-23.13:56:56.369>
    user = 'https://github.com/jorants'
    

    bugs.python.org fields:

    activity = <Date 2021-11-23.13:56:56.369>
    actor = 'arhadthedev'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Regular Expressions']
    creation = <Date 2021-11-22.13:27:59.303>
    creator = 'control-k'
    dependencies = []
    files = ['50457']
    hgrepos = []
    issue_num = 45869
    keywords = []
    message_count = 6.0
    messages = ['406773', '406787', '406796', '406818', '406819', '406837']
    nosy_count = 5.0
    nosy_names = ['ezio.melotti', 'mrabarnett', 'steven.daprano', 'control-k', 'arhadthedev']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue45869'
    versions = ['Python 3.11']
    

    主要言語
    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 を短くまとめたダイジェスト。