Skip to content

Allow struct.pack to handle objects with an __index__ method. #52547

Closed
@mdickinson

Description

@mdickinson
BPO 8300
Nosy @mdickinson, @meadori, @anacrolix
Files
  • struct_index_trunk.patch
  • struct_index_trunk2.patch
  • struct_index_trunk3.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 = 'https://github.com/mdickinson'
    closed_at = <Date 2010-04-05.07:47:44.833>
    created_at = <Date 2010-04-03.11:51:46.746>
    labels = ['extension-modules', 'type-feature']
    title = 'Allow struct.pack to handle objects with an __index__ method.'
    updated_at = <Date 2011-02-20.04:14:38.102>
    user = 'https://github.com/mdickinson'

    bugs.python.org fields:

    activity = <Date 2011-02-20.04:14:38.102>
    actor = 'anacrolix'
    assignee = 'mark.dickinson'
    closed = True
    closed_date = <Date 2010-04-05.07:47:44.833>
    closer = 'mark.dickinson'
    components = ['Extension Modules']
    creation = <Date 2010-04-03.11:51:46.746>
    creator = 'mark.dickinson'
    dependencies = []
    files = ['16746', '16748', '16751']
    hgrepos = []
    issue_num = 8300
    keywords = ['patch']
    message_count = 14.0
    messages = ['102245', '102257', '102258', '102262', '102263', '102311', '102325', '102326', '102327', '102361', '102364', '128849', '128877', '128891']
    nosy_count = 3.0
    nosy_names = ['mark.dickinson', 'meador.inge', 'anacrolix']
    pr_nums = []
    priority = 'normal'
    resolution = 'accepted'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue8300'
    versions = ['Python 2.7', 'Python 3.2']

    Metadata

    Metadata

    Assignees

    Labels

    extension-modulesC modules in the Modules dirtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions