Skip to content

struct.Struct.unpack to return a namedtuple for easier attribute access #47158

@habnabit

Description

@habnabit
mannequin
BPO 2909
Nosy @rhettinger, @vadmium
Files
  • named-struct.patch: Patch against the py3k branch
  • named-struct2.patch: Patch against the python trunk
  • 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 = 'https://github.com/rhettinger'
    closed_at = <Date 2008-05-23.17:22:36.533>
    created_at = <Date 2008-05-18.20:13:19.410>
    labels = ['type-feature', 'library']
    title = 'struct.Struct.unpack to return a namedtuple for easier attribute access'
    updated_at = <Date 2012-10-27.04:17:52.105>
    user = 'https://bugs.python.org/habnabit'

    bugs.python.org fields:

    activity = <Date 2012-10-27.04:17:52.105>
    actor = 'martin.panter'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2008-05-23.17:22:36.533>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2008-05-18.20:13:19.410>
    creator = 'habnabit'
    dependencies = []
    files = ['10368', '10374']
    hgrepos = []
    issue_num = 2909
    keywords = ['patch']
    message_count = 4.0
    messages = ['67038', '67048', '67050', '67253']
    nosy_count = 3.0
    nosy_names = ['rhettinger', 'habnabit', 'martin.panter']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue2909'
    versions = ['Python 2.6', 'Python 3.0']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions