Skip to content

Undefined behavior for deque.insert() when len(d) == maxlen #70382

@rhettinger

Description

@rhettinger
BPO 26194
Nosy @tim-one, @rhettinger, @mdickinson, @vstinner, @vadmium, @serhiy-storchaka, @MojoVampire
Files
  • full_deque.diff: Option to raise an IndexError
  • full_deque_alt.diff: Plain insert followed by pop from right
  • full_deque2.diff: Index error for insert into a full deque
  • 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 2016-02-07.09:06:11.915>
    created_at = <Date 2016-01-24.17:47:04.579>
    labels = ['extension-modules', 'type-bug']
    title = 'Undefined behavior for deque.insert() when len(d) == maxlen'
    updated_at = <Date 2016-02-07.09:06:11.915>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2016-02-07.09:06:11.915>
    actor = 'rhettinger'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2016-02-07.09:06:11.915>
    closer = 'rhettinger'
    components = ['Extension Modules']
    creation = <Date 2016-01-24.17:47:04.579>
    creator = 'rhettinger'
    dependencies = []
    files = ['41717', '41718', '41732']
    hgrepos = []
    issue_num = 26194
    keywords = ['patch']
    message_count = 28.0
    messages = ['258893', '258943', '258947', '258948', '258995', '258996', '259004', '259005', '259007', '259010', '259043', '259046', '259050', '259055', '259063', '259072', '259115', '259156', '259216', '259359', '259369', '259372', '259405', '259418', '259501', '259507', '259519', '259527']
    nosy_count = 8.0
    nosy_names = ['tim.peters', 'rhettinger', 'mark.dickinson', 'vstinner', 'python-dev', 'martin.panter', 'serhiy.storchaka', 'josh.r']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue26194'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    Labels

    extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions