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

Abierto
#69,092 5 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
tooling

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

    Lenguaje dominante
    Python
    Estrellas
    77.2k
    Forks
    36k
    Merge medio
    1 d 9 h
    PR fusionados (30 d)
    558

    Guía de contribución

    Abrir la guía de contribución

    Primeros pasos

    1. Lee el issue completo y luego la guía de contribución del proyecto.
    2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
    3. Haz un fork del repositorio y trabaja en una rama.
    4. Abre un pull request que haga referencia al número del issue.

    Más de python/cpython

    Todos los issues de python/cpython

    Issues similares

    Más issues de Python

    Recibe los nuevos issues en tu correo

    Un resumen breve de issues de GitHub para principiantes.