Skip to content

imp.get_magic() should return bytes, not bytearray #46723

@brettcannon

Description

@brettcannon
BPO 2471
Nosy @brettcannon, @amauryfa, @benjaminp
Files
  • get_magic_bytes.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 = <Date 2008-04-24.20:31:22.072>
    created_at = <Date 2008-03-24.06:59:36.313>
    labels = ['extension-modules', 'type-bug']
    title = 'imp.get_magic() should return bytes, not bytearray'
    updated_at = <Date 2008-04-24.20:36:14.322>
    user = 'https://github.com/brettcannon'

    bugs.python.org fields:

    activity = <Date 2008-04-24.20:36:14.322>
    actor = 'amaury.forgeotdarc'
    assignee = 'none'
    closed = True
    closed_date = <Date 2008-04-24.20:31:22.072>
    closer = 'benjamin.peterson'
    components = ['Extension Modules']
    creation = <Date 2008-03-24.06:59:36.313>
    creator = 'brett.cannon'
    dependencies = []
    files = ['9842']
    hgrepos = []
    issue_num = 2471
    keywords = ['patch']
    message_count = 4.0
    messages = ['64395', '64443', '65745', '65746']
    nosy_count = 3.0
    nosy_names = ['brett.cannon', 'amaury.forgeotdarc', 'benjamin.peterson']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue2471'
    versions = ['Python 3.0']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions