Skip to content

memoryview.to_bytes() and PyBuffer_ToContiguous() incorrect for non-contiguous arrays #57043

@skrah

Description

@skrah
mannequin
BPO 12834
Nosy @loewis, @birkenfeld, @ncoghlan, @abalkin, @pitrou, @vstinner, @tiran, @benjaminp, @skrah, @meadori
Files
  • issue12834.diff
  • 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 2014-10-14.15:02:51.625>
    created_at = <Date 2011-08-24.18:45:04.391>
    labels = ['interpreter-core', 'type-bug']
    title = 'memoryview.to_bytes() and PyBuffer_ToContiguous() incorrect for non-contiguous arrays'
    updated_at = <Date 2015-01-31.15:17:31.451>
    user = 'https://github.com/skrah'

    bugs.python.org fields:

    activity = <Date 2015-01-31.15:17:31.451>
    actor = 'skrah'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-10-14.15:02:51.625>
    closer = 'pitrou'
    components = ['Interpreter Core']
    creation = <Date 2011-08-24.18:45:04.391>
    creator = 'skrah'
    dependencies = []
    files = ['26512']
    hgrepos = []
    issue_num = 12834
    keywords = ['patch']
    message_count = 41.0
    messages = ['142894', '142895', '142899', '151358', '151958', '154241', '165788', '165828', '165839', '165916', '165917', '165919', '166012', '166400', '166550', '166562', '166564', '166638', '166639', '166644', '166645', '166712', '166728', '166754', '166764', '166840', '166842', '166891', '166894', '166917', '167761', '167762', '167764', '167765', '169125', '169126', '169127', '169128', '229295', '235113', '235114']
    nosy_count = 11.0
    nosy_names = ['loewis', 'georg.brandl', 'ncoghlan', 'belopolsky', 'pitrou', 'vstinner', 'christian.heimes', 'benjamin.peterson', 'skrah', 'meador.inge', 'python-dev']
    pr_nums = []
    priority = 'high'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue12834'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions