ShareableList cannot safely handle multibyte utf-8 characters

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

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

評価

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

調査の方向性

issue に添付された最小例である shareablelist_mwe.py から始めて、マルチバイト UTF-8 の動作を再現します。リンクされた gh-123159 PR と、それが変更する ShareableList の実装を確認します。完了の条件は、例がマルチバイト UTF-8 文字の安全でない処理を引き起こさなくなることです。

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

説明

3.13 3.14 3.15 3.16 stdlib type-bug
BPO 44170
Nosy @akulakov, @huwcbjones
PRs
  • python/cpython#26328
  • Files
  • shareablelist_mwe.py: Minimum working example to trigger observed behaviour
  • 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-05-18.11:12:09.372>
    labels = ['3.8', 'type-bug', 'library']
    title = 'ShareableList cannot safely handle multibyte utf-8 characters'
    updated_at = <Date 2021-12-09.06:21:18.650>
    user = 'https://github.com/huwcbjones'
    

    bugs.python.org fields:

    activity = <Date 2021-12-09.06:21:18.650>
    actor = 'andrei.avk'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2021-05-18.11:12:09.372>
    creator = 'huwcbjones'
    dependencies = []
    files = ['50049']
    hgrepos = []
    issue_num = 44170
    keywords = ['patch']
    message_count = 4.0
    messages = ['393868', '393869', '408074', '408075']
    nosy_count = 3.0
    nosy_names = ['python-dev', 'andrei.avk', 'huwcbjones']
    pr_nums = ['26328']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue44170'
    versions = ['Python 3.8']
    

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