Skip to content

Email parser creates a message object that can't be flattened #71508

@msapiro

Description

@msapiro
mannequin
BPO 27321
Nosy @warsaw, @msapiro, @diekhans, @bitdancer, @soltysh, @matrixise, @csabella, @kyrias, @miss-islington, @edeca
PRs
  • bpo-27321: email: don't try to replace headers that aren't set #1977
  • bpo-27321 Fix email.generator.py to not replace a non-existent header. #18074
  • [3.9] bpo-27321 Fix email.generator.py to not replace a non-existent header. (GH-18074) #22796
  • [3.8] bpo-27321 Fix email.generator.py to not replace a non-existent header. (GH-18074) #22797
  • Files
  • bad_email: The problem message
  • generator.patch: Suggested fix
  • 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 = <Date 2020-10-19.23:02:01.155>
    created_at = <Date 2016-06-14.18:52:52.474>
    labels = ['type-bug', '3.8', 'expert-email', '3.10', '3.9']
    title = "Email parser creates a message object that can't be flattened"
    updated_at = <Date 2020-10-19.23:11:42.432>
    user = 'https://github.com/msapiro'

    bugs.python.org fields:

    activity = <Date 2020-10-19.23:11:42.432>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2020-10-19.23:02:01.155>
    closer = 'barry'
    components = ['email']
    creation = <Date 2016-06-14.18:52:52.474>
    creator = 'msapiro'
    dependencies = []
    files = ['43391', '43394']
    hgrepos = []
    issue_num = 27321
    keywords = ['patch']
    message_count = 22.0
    messages = ['268580', '268589', '279172', '295080', '295093', '295101', '295105', '295107', '295108', '295430', '295442', '295443', '296293', '310513', '311272', '327136', '336930', '378083', '378088', '379052', '379056', '379057']
    nosy_count = 10.0
    nosy_names = ['barry', 'msapiro', 'diekhans', 'r.david.murray', 'maciej.szulik', 'matrixise', 'cheryl.sabella', 'Johannes L\xc3\xb6thberg', 'miss-islington', 'edeca']
    pr_nums = ['1977', '18074', '22796', '22797']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue27321'
    versions = ['Python 3.8', 'Python 3.9', 'Python 3.10']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions