python / python/cpython

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

オープン
#73,065 コメント 33 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

easy stdlib topic-email type-bug
主要言語
Python
スター
77.2k
フォーク
36k
PR マージ指標
PR 指標を取得中

説明

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

    コントリビューションガイド

    コントリビューションガイドを開く

    はじめの一歩

    1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
    2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
    3. リポジトリをフォークし、ブランチを切って変更します。
    4. issue 番号を参照したプルリクエストを送ります。

    調査の方向性

    エントリーポイント smtplib.send_message から始め、既存のパッチ履歴とあわせて issue の RFC5322 要件を確認してください。変更を加える前に、リンクされている PRs と関連するパッチを確認してください。missing Date header の動作が一貫して解決され、プロジェクトの関連するテストでカバーされれば完了です。

    索引モデルが issue の本文から書いたものです。

    評価

    技術スタック
    python
    領域
    networking
    issue の種類
    バグ
    難易度
    4/5
    見積もり時間
    3〜5日
    活発さ
    停滞
    明瞭さ
    おおむね明確
    初心者へのやさしさ
    25/100

    新しい issue をメールで受け取る

    初心者向けの GitHub issue を短くまとめたダイジェスト。