Provide a way for potentially long runtime difflib algorithms to be aborted by the caller (and report progress?)

Đang mở
#69,092 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.

Đánh giá

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

Hướng nghiên cứu

Start by reading the difflib SequenceMatcher ratio() and quick_ratio() entry points and review the linked difflib-diff.patch. Determine the caller-abort and progress-reporting API requirements, then add focused tests showing cancellation and progress behavior; done means the supported behavior is specified and verified.

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

Mô tả

stdlib type-feature
BPO 24904
Nosy @tim-one, @rhettinger, @gpshead, @rbtcollins, @jftuga
Files
  • difflib-diff.patch: Adds timeout feature to difflib SequenceMatcher ratio() and quick_ratio()
  • 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 2015-08-20.22:18:07.911>
    labels = ['type-feature', 'library']
    title = 'Provide a way for potentially long runtime difflib algorithms to be aborted by the caller (and report progress?)'
    updated_at = <Date 2022-02-07.13:36:55.864>
    user = 'https://github.com/jftuga'
    

    bugs.python.org fields:

    activity = <Date 2022-02-07.13:36:55.864>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2015-08-20.22:18:07.911>
    creator = 'jftuga'
    dependencies = []
    files = ['40217']
    hgrepos = []
    issue_num = 24904
    keywords = ['patch']
    message_count = 5.0
    messages = ['248919', '248920', '248921', '248922', '412718']
    nosy_count = 5.0
    nosy_names = ['tim.peters', 'rhettinger', 'gregory.p.smith', 'rbcollins', 'jftuga']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue24904'
    versions = ['Python 3.5']
    

    Ngôn ngữ chính
    Python
    Star
    77.2k
    Fork
    36k
    Merge trung bình
    1 ngày 9 giờ
    Pull request đã merge (30 ngày)
    558

    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.

    Issue khác của python/cpython

    Tất cả issue của python/cpython

    Issue tương tự

    Thêm issue về Python

    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.