email.header.decode_header sometimes returns bytes, sometimes str

Aperta
#65,691 5 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
28/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
api, documentation

Direzione di ricerca

Start with email.header.decode_header and the dependent bpo-6302 proposal for email.utils.decode_header_as_string. Read the five-message issue thread to establish the intended return-type contract; done requires a decided behavior and corresponding documentation or implementation scope, but the payload names no files or tests.

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

Descrizione

3.7 (EOL) 3.8 (EOL) 3.9 (EOL) docs stdlib topic-email type-feature
BPO 21492
Nosy @warsaw, @ezio-melotti, @bitdancer, @berkerpeksag, @louisabraham
Dependencies
  • bpo-6302: Add decode_header_as_string method to email.utils
  • 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 2014-05-13.09:08:05.923>
    labels = ['3.7', '3.8', 'expert-email', '3.9', 'type-feature', 'library', 'docs']
    title = 'email.header.decode_header sometimes returns bytes, sometimes str'
    updated_at = <Date 2019-06-07.18:44:38.667>
    user = 'https://bugs.python.org/jimminter'
    

    bugs.python.org fields:

    activity = <Date 2019-06-07.18:44:38.667>
    actor = 'terry.reedy'
    assignee = 'docs@python'
    closed = False
    closed_date = None
    closer = None
    components = ['Documentation', 'Library (Lib)', 'email']
    creation = <Date 2014-05-13.09:08:05.923>
    creator = 'jim_minter'
    dependencies = ['6302']
    files = []
    hgrepos = []
    issue_num = 21492
    keywords = []
    message_count = 5.0
    messages = ['218419', '218442', '218450', '218451', '344522']
    nosy_count = 7.0
    nosy_names = ['barry', 'ezio.melotti', 'r.david.murray', 'docs@python', 'berker.peksag', 'jim_minter', 'louis.abraham@yahoo.fr']
    pr_nums = []
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue21492'
    versions = ['Python 3.7', 'Python 3.8', 'Python 3.9']
    

    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.