python / python/cpython

Avoid raising OverflowError if possible

Đang mở
#74,019 5 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

3.7 (EOL) interpreter-core type-feature
Ngôn ngữ chính
Python
Star
77.2k
Fork
36k
Chỉ số merge pull request
Chỉ số pull request đang chờ

Mô tả

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']
    

    Hướng dẫn đóng góp

    Mở hướng dẫn đóng góp

    Bắt đầu từ đâu

    1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
    2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
    3. Fork repository và làm thay đổi trên một nhánh.
    4. Mở pull request có tham chiếu số hiệu của issue.

    Hướng nghiên cứu

    Bắt đầu bằng cách xem xét các issue phụ thuộc đã liên kết, đặc biệt là 28876, 29816, 29819, 29834, 29839 và 32582, để hiểu các trường hợp OverflowError riêng biệt. Để được coi là hoàn tất, cần xử lý các trường hợp áp dụng mà không phát sinh OverflowError, nhưng issue tổng này không nêu tệp, bài kiểm thử hay điểm bắt đầu triển khai cụ thể nào.

    Do mô hình lập chỉ mục viết ra từ nội dung của issue.

    Đánh giá

    Công nghệ
    python
    Lĩnh vực
    compilers
    Loại issue
    Tính năng
    Độ khó
    5/5
    Thời gian dự kiến
    Hơn một tuần
    Mức độ hoạt động
    Đình trệ
    Độ rõ ràng
    Cần làm rõ
    Mức phù hợp với người mới
    20/100

    Nhận issue mới trong hộp thư của bạn

    Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.