Skip to content

non-ascii characters in headers causes TypeError on email.policy.Policy.fold #77705

Description

@rad164
mannequin
BPO 33524
Nosy @warsaw, @bitdancer, @matrixise, @csabella, @miss-islington
PRs
  • bpo-33524: Fix the behavior when max_line_length is 0 or None in email.policy #6966
  • bpo-33524: Fix the folding of email header when max_line_length is 0 or None #13391
  • [3.7] bpo-33524: Fix the folding of email header when max_line_length is 0 or None (GH-13391) #13393
  • 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 2019-05-17.20:54:43.655>
    created_at = <Date 2018-05-15.16:35:30.339>
    labels = ['3.8', 'type-bug', '3.7', 'expert-email']
    title = 'non-ascii characters in headers causes TypeError on email.policy.Policy.fold'
    updated_at = <Date 2019-05-17.20:54:43.654>
    user = 'https://bugs.python.org/rad164'

    bugs.python.org fields:

    activity = <Date 2019-05-17.20:54:43.654>
    actor = 'cheryl.sabella'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-05-17.20:54:43.655>
    closer = 'cheryl.sabella'
    components = ['email']
    creation = <Date 2018-05-15.16:35:30.339>
    creator = 'rad164'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 33524
    keywords = ['patch']
    message_count = 6.0
    messages = ['316680', '316681', '335436', '342758', '342763', '342765']
    nosy_count = 7.0
    nosy_names = ['barry', 'r.david.murray', 'matrixise', 'altvod', 'cheryl.sabella', 'miss-islington', 'rad164']
    pr_nums = ['6966', '13391', '13393']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue33524'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions