Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]

Abierto
#56,815 9 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
28/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
python
Área
compilers

Línea de trabajo

Start by reading the linked slice_del.diff patches, including the version with the documentation change and the simplified test. Compare the existing slice[i:j:k] behavior for lists and bytearrays, then determine the intended consistent behavior from the patch discussion and documentation; done means the behavior, test coverage, and documentation agree.

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

Descripción

interpreter-core type-feature
BPO 12606
Nosy @Yhg1s, @terryjreedy, @ezio-melotti, @py-user, @serhiy-storchaka
Files
  • slice_del.diff: Patch
  • slice_del.diff: patch including doc change
  • slice_del.diff
  • slice_del.diff: simplified test
  • slice_del.diff: version without double type cast
  • 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 2011-07-21.22:31:34.463>
    labels = ['interpreter-core', 'type-feature']
    title = 'Mutable Sequence Type works different for lists and bytearrays in slice[i:j:k]'
    updated_at = <Date 2016-01-03.09:27:27.677>
    user = 'https://github.com/py-user'
    

    bugs.python.org fields:

    activity = <Date 2016-01-03.09:27:27.677>
    actor = 'py.user'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2011-07-21.22:31:34.463>
    creator = 'py.user'
    dependencies = []
    files = ['38912', '38913', '38930', '38932', '38941']
    hgrepos = []
    issue_num = 12606
    keywords = ['patch']
    message_count = 9.0
    messages = ['140832', '140835', '140845', '140846', '240586', '240635', '241605', '257341', '257407']
    nosy_count = 6.0
    nosy_names = ['twouters', 'terry.reedy', 'ezio.melotti', 'py.user', 'serhiy.storchaka', 'siegfried.gevatter']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue12606'
    versions = ['Python 3.5', 'Python 3.6']
    

    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.