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

Aberta
#56,815 9 comentários 0 reações 0 responsáveis Ver no GitHub

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
28/100
Tipo de issue
Funcionalidade
Clareza
Precisa de esclarecimento
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
compilers

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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

    Linguagem predominante
    Python
    Estrelas
    77.2k
    Forks
    36k
    Merge médio
    1d 9h
    PRs com merge (30d)
    558

    Guia de contribuição

    Abrir o guia de contribuição

    Primeiros passos

    1. Leia a issue inteira e depois o guia de contribuição do projeto.
    2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
    3. Faça um fork do repositório e trabalhe em uma branch.
    4. Abra um pull request que referencie o número da issue.

    Mais de python/cpython

    Todas as issues de python/cpython

    Issues semelhantes

    Mais issues de Python

    Receba novas issues na sua caixa de entrada

    Um resumo curto de issues do GitHub para quem está começando.