python / python/cpython

Avoid raising OverflowError if possible

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

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

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

説明

BPO 29833
Nosy @gvanrossum, @rhettinger, @mdickinson, @vstinner, @serhiy-storchaka, @orenmn
Dependencies
  • bpo-28876: bool of large range raises OverflowError
  • bpo-29816: Get rid of C limitation for shift count in right shift
  • bpo-29819: Avoid raising OverflowError in truncate() if possible
  • bpo-29834: Raise ValueError rather of OverflowError in PyLong_AsUnsignedLong()
  • bpo-29839: Avoid raising OverflowError in len() when len() returns negative large value
  • bpo-32582: chr raises OverflowError
  • 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-03-17.08:31:01.766>
    labels = ['interpreter-core', 'type-feature', '3.7']
    title = 'Avoid raising OverflowError if possible'
    updated_at = <Date 2018-01-20.19:11:20.564>
    user = 'https://github.com/serhiy-storchaka'
    

    bugs.python.org fields:

    activity = <Date 2018-01-20.19:11:20.564>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2017-03-17.08:31:01.766>
    creator = 'serhiy.storchaka'
    dependencies = ['28876', '29816', '29819', '29834', '29839', '32582']
    files = []
    hgrepos = []
    issue_num = 29833
    keywords = []
    message_count = 5.0
    messages = ['289747', '289795', '289821', '289826', '289835']
    nosy_count = 6.0
    nosy_names = ['gvanrossum', 'rhettinger', 'mark.dickinson', 'vstinner', 'serhiy.storchaka', 'Oren Milman']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue29833'
    versions = ['Python 3.7']
    

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

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

    はじめの一歩

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

    調査の方向性

    まず、リンクされている依存 Issue、特に 28876、29816、29819、29834、29839、32582 を確認し、個別の OverflowError のケースを理解してください。完了とするには、該当するケースに対して OverflowError を発生させずに対応する必要がありますが、この包括的な Issue では、ファイル、テスト、具体的な実装のエントリーポイントは指定されていません。

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

    評価

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

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

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