Don't allow datetime parsing to accept non-Ascii digits

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
20/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
backend, security

調査の方向性

開始する前に、移行された BPO issue 39280 と、参照されている Python PR 17931、およびリンクされている PR gh-131008 を確認してください。datetime の解析エントリーポイントと既存のテストを追跡し、そのうえで、ASCII 以外の数字が拒否され、ASCII 数字の受け入れられる入力が変更されていないことを確認してください。

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

説明

stdlib triaged type-bug
BPO 39280
Nosy @mdickinson, @vstinner, @stevendaprano, @methane, @cool-RR, @pganssle
PRs
  • python/cpython#17931
  • 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 = <Date 2020-07-17.17:11:22.617>
    created_at = <Date 2020-01-09.21:10:55.846>
    labels = ['type-security', '3.8', '3.7', 'library', '3.9']
    title = "Don't allow datetime parsing to accept non-Ascii digits"
    updated_at = <Date 2020-07-17.17:11:22.616>
    user = 'https://github.com/cool-RR'
    

    bugs.python.org fields:

    activity = <Date 2020-07-17.17:11:22.616>
    actor = 'cool-RR'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-07-17.17:11:22.617>
    closer = 'cool-RR'
    components = ['Library (Lib)']
    creation = <Date 2020-01-09.21:10:55.846>
    creator = 'cool-RR'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 39280
    keywords = ['patch']
    message_count = 10.0
    messages = ['359695', '359696', '359697', '359698', '359707', '359715', '359729', '359730', '361123', '361271']
    nosy_count = 6.0
    nosy_names = ['mark.dickinson', 'vstinner', 'steven.daprano', 'methane', 'cool-RR', 'p-ganssle']
    pr_nums = ['17931']
    priority = 'normal'
    resolution = None
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'security'
    url = 'https://bugs.python.org/issue39280'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']
    

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