Skip to content

Memoryviews require more strict contiguous checks then necessary #66635

@seberg

Description

@seberg
mannequin
BPO 22445
Nosy @abalkin, @pitrou, @skrah, @seberg
Files
  • relaxed-strides-checking.patch: Patch relaxing the buffer contiguity checks (tests missing; untested)
  • relaxed-strides-checking.patch: Added missing shape==NULL paths.
  • relaxed-strides-checking.patch: Further fix some empty buffer cases.
  • contiguous.py: Python code for changed contiguity checking (not simpler then C-code, but maybe nice for testing)
  • contiguous.py: Smaller fix, some restructuring.
  • issue22445.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 2015-02-01.14:28:35.921>
    created_at = <Date 2014-09-19.19:00:49.974>
    labels = ['type-feature', 'library']
    title = 'Memoryviews require more strict contiguous checks then necessary'
    updated_at = <Date 2015-02-01.14:28:35.920>
    user = 'https://github.com/seberg'

    bugs.python.org fields:

    activity = <Date 2015-02-01.14:28:35.920>
    actor = 'skrah'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-02-01.14:28:35.921>
    closer = 'skrah'
    components = ['Library (Lib)']
    creation = <Date 2014-09-19.19:00:49.974>
    creator = 'seberg'
    dependencies = []
    files = ['36663', '36676', '36677', '36678', '36680', '36738']
    hgrepos = []
    issue_num = 22445
    keywords = ['patch']
    message_count = 23.0
    messages = ['227113', '227114', '227115', '227116', '227118', '227128', '227129', '227153', '227155', '227168', '227213', '227233', '227262', '227263', '227616', '228228', '228283', '228361', '229443', '229474', '229485', '229728', '235171']
    nosy_count = 5.0
    nosy_names = ['belopolsky', 'pitrou', 'skrah', 'python-dev', 'seberg']
    pr_nums = []
    priority = 'low'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue22445'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      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