python / python/cpython

smtplib send_message should add Date header if it is missing, per RFC5322

Offen
#73,065 33 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

easy stdlib topic-email type-bug
Vorherrschende Sprache
Python
Sterne
77.2k
Forks
36k
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
558

Beschreibung

BPO 28879
Nosy @bitdancer, @soltysh, @jenstroeger, @elafontaine
PRs
  • python/cpython#2655
  • python/cpython#5176
  • Files
  • issue_28879.patch
  • issue_28879_V2.patch
  • issue_28879_V3.patch
  • issue_28879_V4.patch: Python3 complete changes
  • issue_28879_python2.patch
  • issue_28879_python2_overkill.patch
  • issue28879_v5.patch
  • Resent_heuristic.patch
  • 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 2016-12-05.15:48:15.178>
    labels = ['3.7', 'easy', 'type-bug', 'library']
    title = 'smtplib send_message should add Date header if it is missing, per RFC5322'
    updated_at = <Date 2018-09-08.23:03:27.435>
    user = 'https://bugs.python.org/HenningvonBargen'
    

    bugs.python.org fields:

    activity = <Date 2018-09-08.23:03:27.435>
    actor = '_savage'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)']
    creation = <Date 2016-12-05.15:48:15.178>
    creator = 'Henning.von.Bargen'
    dependencies = []
    files = ['45929', '45958', '45959', '45969', '46001', '46002', '46459', '46460']
    hgrepos = []
    issue_num = 28879
    keywords = ['patch', 'easy']
    message_count = 32.0
    messages = ['282425', '282429', '282549', '282553', '282558', '283275', '283313', '283347', '283361', '283362', '283412', '283431', '283436', '283572', '283574', '283593', '283604', '283645', '283647', '283847', '283848', '283849', '285686', '285694', '285697', '286037', '286504', '286505', '288046', '297496', '297528', '324865']
    nosy_count = 5.0
    nosy_names = ['r.david.murray', 'maciej.szulik', 'Henning.von.Bargen', '_savage', 'Eric Lafontaine']
    pr_nums = ['2655', '5176']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue28879'
    versions = ['Python 3.6', 'Python 3.7']
    

    Linked PRs
    • gh-136850

    Beitragsleitfaden

    Beitragsleitfaden öffnen

    Erste Schritte

    1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
    2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
    3. Forke das Repository und arbeite in einem Branch.
    4. Öffne einen Pull Request, der die Issue-Nummer nennt.

    Rechercherichtung

    Beginne mit dem Einstiegspunkt smtplib.send_message und prüfe die RFC5322-Anforderung des Issues zusammen mit der bestehenden Patch-Historie. Prüfe die verlinkten PRs und zugehörigen Patches, bevor du Änderungen vornimmst; als erledigt gilt, dass das Verhalten für den fehlenden Date header konsistent behoben und durch die relevanten Tests des Projekts abgedeckt ist.

    Vom Indexierungsmodell aus dem Issue-Text verfasst.

    Bewertung

    Tech-Stack
    python
    Bereich
    networking
    Issue-Typ
    Bug
    Schwierigkeit
    4/5
    Geschätzter Aufwand
    3-5 Tage
    Aktivitätsstatus
    Veraltet
    Klarheit
    Größtenteils klar
    Anfängerfreundlichkeit
    25/100

    Neue Issues direkt in Ihr Postfach

    Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.