Invalid MIME encoding generated by email.mime (line too long)

Aperta
#70,136 1 commento 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
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Start by reviewing PR 30980 and the linked test_mime_long_line.py and test_mime_long_line_workaround.py files, then inspect the Python email library code they exercise. Reproduce the invalid MIME output and determine whether the existing PR resolves the line-length issue; done means the generated encoding is valid without breaking the relevant email tests.

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

Descrizione

3.10 3.11 3.9 (EOL) stdlib topic-email type-bug
BPO 25948
Nosy @warsaw, @bitdancer, @180909
PRs
  • python/cpython#30980
  • Files
  • test_mime_long_line.py: Simple test case
  • test_mime_long_line_workaround.py: Demonstration of the described workaround
  • 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 2015-12-25.10:33:43.528>
    labels = ['type-bug', 'expert-email', '3.10', '3.11', 'library', '3.9']
    title = 'Invalid MIME encoding generated by email.mime (line too long)'
    updated_at = <Date 2022-01-28.07:16:40.176>
    user = 'https://bugs.python.org/vog'
    

    bugs.python.org fields:

    activity = <Date 2022-01-28.07:16:40.176>
    actor = 'wangjiahua'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'email']
    creation = <Date 2015-12-25.10:33:43.528>
    creator = 'vog'
    dependencies = []
    files = ['41415', '41416']
    hgrepos = []
    issue_num = 25948
    keywords = ['patch']
    message_count = 1.0
    messages = ['256982']
    nosy_count = 4.0
    nosy_names = ['barry', 'r.david.murray', 'vog', 'wangjiahua']
    pr_nums = ['30980']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue25948'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']
    

    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.