Skip to content

email.Utils.parseaddr fails to parse valid addresses #40889

Description

@melicertes
mannequin
BPO 1025395
Nosy @warsaw, @tiran, @merwok, @bitdancer, @vadmium, @thehesiod, @ioanatia
PRs
  • bpo-1025395: Fix email.utils.parseaddr to handle multiple hops #142
  • bpo-1025395: Fix email.utils.parseaddr to handle multiple hops #6917
  • 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 2004-09-09.20:43:42.000>
    labels = ['3.7', 'type-bug', 'library', 'expert-email']
    title = 'email.Utils.parseaddr fails to parse valid addresses'
    updated_at = <Date 2018-05-16.19:01:00.100>
    user = 'https://bugs.python.org/melicertes'

    bugs.python.org fields:

    activity = <Date 2018-05-16.19:01:00.100>
    actor = 'ioanatia'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'email']
    creation = <Date 2004-09-09.20:43:42.000>
    creator = 'melicertes'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 1025395
    keywords = ['patch']
    message_count = 10.0
    messages = ['22413', '59669', '59670', '59671', '59735', '59737', '59751', '59753', '301485', '301504']
    nosy_count = 10.0
    nosy_names = ['barry', 'melicertes', 'christian.heimes', 'sdgathman', 'eric.araujo', 'r.david.murray', 'sascha_silbe', 'martin.panter', 'thehesiod', 'ioanatia']
    pr_nums = ['142', '6917']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue1025395'
    versions = ['Python 2.7', 'Python 3.2', 'Python 3.3', 'Python 3.6', 'Python 3.7']

    Linked PRs

    Activity

    1. assigned and unassigned on May 5, 2010
    2. removed their assignment
      on May 16, 2012
    3. removed their assignment
      on May 16, 2012
    4. thehesiod commented on Sep 6, 2017

      thehesiodmannequin
      Mannequin
      from 3.6:
      >>> AddrlistClass('John Smith <john.smith(comment)@example.org>').getcomment()
      ''
      
      >>> AddrlistClass('John Smith <john.smith(comment)@example.org>').getdomain()
      'JohnSmith'

      totally messed up :)

    5. thehesiod commented on Sep 6, 2017

      thehesiodmannequin
      Mannequin

      looks like these were meant to be internal methods, retracting new issues

    6. transferred this issue fromon Apr 9, 2022
    7. added 2 commits that reference this issue on Aug 25, 2024
    8. added 4 commits that reference this issue on Aug 25, 2024
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      stdlibStandard Library Python modules in the Lib/ directorytopic-emailtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions