Skip to content

The decode_header() function decodes raw part to bytes or str, depending on encoded part #67022

Open
@py-user

Description

@py-user
BPO 22833
Nosy @warsaw, @bitdancer, @py-user, @dlenski, @JelleZijlstra, @iritkatriel
PRs
  • bpo-22833: Fix bytes/str inconsistency in email.header.decode_header() #30548
  • 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 2014-11-10.02:42:40.886>
    labels = ['type-bug', 'expert-email', '3.10', '3.11', 'library', '3.9']
    title = 'The decode_header() function decodes raw part to bytes or str, depending on encoded part'
    updated_at = <Date 2022-01-21.01:48:16.180>
    user = 'https://github.com/py-user'

    bugs.python.org fields:

    activity = <Date 2022-01-21.01:48:16.180>
    actor = 'JelleZijlstra'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Library (Lib)', 'email']
    creation = <Date 2014-11-10.02:42:40.886>
    creator = 'py.user'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 22833
    keywords = ['patch']
    message_count = 8.0
    messages = ['230932', '230962', '230976', '230981', '408376', '409391', '409392', '411069']
    nosy_count = 6.0
    nosy_names = ['barry', 'r.david.murray', 'py.user', 'dlenski', 'JelleZijlstra', 'iritkatriel']
    pr_nums = ['30548']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue22833'
    versions = ['Python 3.9', 'Python 3.10', 'Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixes3.11only security fixes3.9only security fixesstdlibPython modules in the Lib dirtopic-emailtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions