Skip to content

email parseaddr and formataddr should be IDNA aware #55992

@bitdancer

Description

@bitdancer
BPO 11783
Nosy @warsaw, @macfreek, @tiran, @bitdancer, @zvyn
PRs
  • bpo-11783: Make parseaddr, formataddr IDNA aware. #1900
  • Files
  • issue-11783-v1.patch: IDNA awareness for formataddr() and parseaddr() + tests + docs
  • issue-11783-v2.patch: Fix for local-part only addresses + test case
  • email_address_idna.patch
  • issue-11783-v4.patch: getaddresses() also decodes IDNs
  • issue11783.patch: Update issue-11783-v4.patch to be applieable on 3.5.
  • issue11783-rdm-fixed.patch
  • 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 2011-04-06.14:12:00.758>
    labels = ['type-feature', '3.7', 'expert-email']
    title = 'email parseaddr and formataddr should be IDNA aware'
    updated_at = <Date 2017-06-02.16:29:14.305>
    user = 'https://github.com/bitdancer'

    bugs.python.org fields:

    activity = <Date 2017-06-02.16:29:14.305>
    actor = 'r.david.murray'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['email']
    creation = <Date 2011-04-06.14:12:00.758>
    creator = 'r.david.murray'
    dependencies = []
    files = ['21595', '21614', '21653', '21698', '35565', '35566']
    hgrepos = []
    issue_num = 11783
    keywords = ['patch']
    message_count = 32.0
    messages = ['133133', '133335', '133338', '133343', '133381', '133421', '133512', '133519', '133522', '133686', '133696', '133699', '133754', '133757', '133767', '133768', '133935', '133936', '161807', '170381', '213328', '213332', '220240', '220253', '294937', '294938', '294987', '295023', '295027', '295028', '295031', '295035']
    nosy_count = 8.0
    nosy_names = ['barry', 'macfreek', 'christian.heimes', 'r.david.murray', 'jesstess', 'sdaoden', 'torsten.becker', 'zvyn']
    pr_nums = ['1900']
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue11783'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytopic-emailtype-featureA feature request or enhancement
      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