Skip to content

errors raised by ctypes.Array for invalid _length_ attribute #74029

@orenmn

Description

@orenmn
mannequin
BPO 29843
Nosy @amauryfa, @abalkin, @vstinner, @taleinat, @meadori, @serhiy-storchaka, @orenmn
PRs
  • bpo-16865: Support arrays >=2GB in ctypes #3006
  • bpo-29843: Raise ValueError instead of OverflowError in case of a negative _length_ in a ctypes.Array subclass #3822
  • bpo-29843: raise AttributeError if given negative _length_ #10029
  • Files
  • patchDraft1.diff: patch draft 1 diff
  • patchDraft2.diff: patch draft 2 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 2018-10-22.15:35:28.688>
    created_at = <Date 2017-03-18.09:56:32.657>
    labels = ['ctypes', 'type-bug', '3.8']
    title = 'errors raised by ctypes.Array for invalid _length_ attribute'
    updated_at = <Date 2018-10-22.19:22:18.555>
    user = 'https://github.com/orenmn'

    bugs.python.org fields:

    activity = <Date 2018-10-22.19:22:18.555>
    actor = 'taleinat'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-10-22.15:35:28.688>
    closer = 'taleinat'
    components = ['ctypes']
    creation = <Date 2017-03-18.09:56:32.657>
    creator = 'Oren Milman'
    dependencies = []
    files = ['46732', '46735']
    hgrepos = []
    issue_num = 29843
    keywords = ['patch']
    message_count = 18.0
    messages = ['289800', '289802', '289804', '289805', '289807', '289808', '289809', '289813', '289829', '300453', '300573', '300590', '328216', '328253', '328254', '328261', '328262', '328270']
    nosy_count = 8.0
    nosy_names = ['amaury.forgeotdarc', 'belopolsky', 'vstinner', 'taleinat', 'meador.inge', 'serhiy.storchaka', 'Oren Milman', 'i3v']
    pr_nums = ['3006', '3822', '10029']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue29843'
    versions = ['Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions