Skip to content

While parsing email message id: UnboundLocalError #82879

Description

@NikitaHoffmann
BPO 38698
Nosy @warsaw, @bitdancer, @maxking, @miss-islington, @tirkarthi
PRs
  • bpo-38698: Prevent UnboundLocalError to pop up in parse_message_id #17277
  • [3.8] bpo-38698: Prevent UnboundLocalError to pop up in parse_message_id (GH-17277) #17476
  • bpo-38698: Add a new InvalidMessageID token to email header parser. #17503
  • [3.8] bpo-38698: Add a new InvalidMessageID token to email header parser. (GH-17503) #17514
  • Files
  • samplescript.py: Sample script
  • 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-12-09.02:36:06.916>
    created_at = <Date 2019-11-05.13:03:28.325>
    labels = ['3.8', 'expert-email', 'type-crash', '3.9']
    title = 'While parsing email message id: UnboundLocalError'
    updated_at = <Date 2019-12-09.02:36:06.916>
    user = 'https://bugs.python.org/NikitaHoffmann'

    bugs.python.org fields:

    activity = <Date 2019-12-09.02:36:06.916>
    actor = 'maxking'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-12-09.02:36:06.916>
    closer = 'maxking'
    components = ['email']
    creation = <Date 2019-11-05.13:03:28.325>
    creator = 'Nikita Hoffmann'
    dependencies = []
    files = ['48696']
    hgrepos = []
    issue_num = 38698
    keywords = ['patch']
    message_count = 10.0
    messages = ['356030', '356032', '356108', '357405', '357407', '357836', '357874', '358044', '358046', '358049']
    nosy_count = 6.0
    nosy_names = ['barry', 'r.david.murray', 'maxking', 'miss-islington', 'xtreak', 'Nikita Hoffmann']
    pr_nums = ['17277', '17476', '17503', '17514']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue38698'
    versions = ['Python 3.8', 'Python 3.9']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)end of life3.9 (EOL)end of lifetopic-emailtype-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions