Skip to content

collections.OrderedDict constructor (odict_new) doesn't handle PyDict_New() failure #69180

@vstinner

Description

@vstinner
BPO 24992
Nosy @rhettinger, @vstinner, @larryhastings, @ericsnowcurrently, @serhiy-storchaka, @1st1
Files
  • odict.patch
  • odict_failmalloc.py
  • odict-2.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 = None
    closed_at = <Date 2015-09-03.15:51:57.531>
    created_at = <Date 2015-09-03.09:53:53.272>
    labels = ['type-bug']
    title = "collections.OrderedDict constructor (odict_new) doesn't handle PyDict_New() failure"
    updated_at = <Date 2015-09-04.00:10:33.705>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2015-09-04.00:10:33.705>
    actor = 'eric.snow'
    assignee = 'none'
    closed = True
    closed_date = <Date 2015-09-03.15:51:57.531>
    closer = 'vstinner'
    components = []
    creation = <Date 2015-09-03.09:53:53.272>
    creator = 'vstinner'
    dependencies = []
    files = ['40334', '40335', '40340']
    hgrepos = []
    issue_num = 24992
    keywords = ['patch']
    message_count = 15.0
    messages = ['249625', '249626', '249639', '249640', '249645', '249648', '249649', '249651', '249652', '249656', '249663', '249665', '249675', '249682', '249702']
    nosy_count = 7.0
    nosy_names = ['rhettinger', 'vstinner', 'larry', 'python-dev', 'eric.snow', 'serhiy.storchaka', 'yselivanov']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue24992'
    versions = ['Python 3.5', 'Python 3.6']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      type-bugAn unexpected behavior, bug, or error

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions