Skip to content

Stack overflow in repr of deeply nested dicts #76318

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 32137
Nosy @rhettinger, @vstinner, @serhiy-storchaka
PRs
  • bpo-32137: The repr of deeply nested dict now raises a RecursionError #4570
  • [3.6] bpo-32137: The repr of deeply nested dict now raises a RecursionError (GH-4570) #4689
  • [3.6] bpo-32137: The repr of deeply nested dict now raises a RecursionError (GH-4570) #4812
  • bpo-18533: Avoid RuntimeError from repr() of recursive dictview #4823
  • [2.7] bpo-32137: The repr of deeply nested dict now raises a RuntimeError (GH-4570) #5493
  • 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-02-02.14:30:31.024>
    created_at = <Date 2017-11-26.08:53:30.503>
    labels = ['interpreter-core', '3.7', 'type-crash']
    title = 'Stack overflow in repr of deeply nested dicts'
    updated_at = <Date 2018-02-02.14:30:31.024>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2018-02-02.14:30:31.024>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-02-02.14:30:31.024>
    closer = 'serhiy.storchaka'
    components = ['Interpreter Core']
    creation = <Date 2017-11-26.08:53:30.503>
    creator = 'serhiy.storchaka'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32137
    keywords = ['patch']
    message_count = 7.0
    messages = ['306997', '307522', '308114', '309021', '311420', '311488', '311493']
    nosy_count = 3.0
    nosy_names = ['rhettinger', 'vstinner', 'serhiy.storchaka']
    pr_nums = ['4570', '4689', '4812', '4823', '5493']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue32137'
    versions = ['Python 2.7', 'Python 3.6', 'Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeinterpreter-core(Objects, Python, Grammar, and Parser dirs)type-crashA hard crash of the interpreter, possibly with a core dump

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions