codecs.StreamReader doesn't pass final=1 to the UTF-8 codec

Aberta
#56,717 6 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
30/100
Tipo de issue
Bug
Clareza
Razoavelmente clara
Status de atividade
Estagnada
Stack de tecnologia
python
Domínio
backend

Direção de pesquisa

Start with the linked fffd.py and fffd-2.py demonstration scripts, then trace the codecs.StreamReader behavior involved in the UTF-8 case. Done means reproducing the reported behavior and confirming that the final=1 handling is corrected; no repository test file is named in the issue.

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

Descrição

stdlib topic-unicode type-bug
BPO 12508
Nosy @malemburg, @vstinner, @ezio-melotti
Files
  • fffd.py
  • fffd-2.py: Demo script. 2+3 portable, added io.open.
  • 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-06.22:45:47.044>
    labels = ['3.10', 'type-bug', '3.8', '3.9', 'expert-unicode']
    title = "codecs.StreamReader doesn't pass final=1 to the UTF-8 codec"
    updated_at = <Date 2020-11-11.19:26:15.934>
    user = 'https://bugs.python.org/spatz123'
    

    bugs.python.org fields:

    activity = <Date 2020-11-11.19:26:15.934>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Unicode']
    creation = <Date 2011-07-06.22:45:47.044>
    creator = 'spatz123'
    dependencies = []
    files = ['22597', '26013']
    hgrepos = []
    issue_num = 12508
    keywords = []
    message_count = 6.0
    messages = ['139954', '139956', '139957', '143473', '144373', '144376']
    nosy_count = 4.0
    nosy_names = ['lemburg', 'vstinner', 'ezio.melotti', 'spatz123']
    pr_nums = []
    priority = 'high'
    resolution = None
    stage = None
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12508'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']
    

    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.