Skip to content

Serialization of email message without header line length limit and a non-ASCII subject fails with TypeError #78401

@altvod

Description

@altvod
mannequin
BPO 34220
Nosy @warsaw, @bitdancer, @tirkarthi
Superseder
  • bpo-33524: non-ascii characters in headers causes TypeError on email.policy.Policy.fold
  • 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 2018-07-25.14:51:04.726>
    created_at = <Date 2018-07-25.12:19:20.281>
    labels = ['3.8', 'type-bug', '3.7', 'expert-email']
    title = 'Serialization of email message without header line length limit and a non-ASCII subject fails with TypeError'
    updated_at = <Date 2018-07-25.14:51:04.713>
    user = 'https://bugs.python.org/altvod'

    bugs.python.org fields:

    activity = <Date 2018-07-25.14:51:04.713>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-07-25.14:51:04.726>
    closer = 'r.david.murray'
    components = ['email']
    creation = <Date 2018-07-25.12:19:20.281>
    creator = 'altvod'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34220
    keywords = []
    message_count = 3.0
    messages = ['322348', '322356', '322360']
    nosy_count = 4.0
    nosy_names = ['barry', 'r.david.murray', 'altvod', 'xtreak']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '33524'
    type = 'behavior'
    url = 'https://bugs.python.org/issue34220'
    versions = ['Python 3.6', 'Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions