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

Aperta
#56,717 6 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

    Lingua principale
    Python
    Stelle
    77.2k
    Fork
    36k
    Merge medio
    1g 9h
    PR unite (30g)
    558

    Guida per i contributori

    Apri la guida per i contributori

    Come iniziare

    1. Leggi tutta la issue e poi la guida ai contributi del progetto.
    2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
    3. Fai un fork del repository e lavora su un branch.
    4. Apri una pull request che faccia riferimento al numero della issue.

    Altre issue di python/cpython

    Tutte le issue di python/cpython

    Issue simili

    Altre issue su Python

    Ricevi le nuove issue nella tua casella

    Un breve riepilogo di issue GitHub adatte ai principianti.