Skip to content

"RuntimeError: Dictionary changed size during iteration" when copying a WeakValueDictionary #79796

Description

@ltfish
mannequin
BPO 35615
Nosy @freddrake, @pitrou, @serhiy-storchaka, @eamanu, @remilapeyre, @ltfish, @djromberg
PRs
  • bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. #11384
  • bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. #11384
  • bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. #11384
  • bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. #11384
  • [3.7] bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. (GH-11384) #11785
  • [3.7] bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. (GH-11384) #11785
  • [3.7] bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. (GH-11384) #11785
  • 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 2019-02-07.20:09:29.295>
    created_at = <Date 2018-12-29.20:45:37.886>
    labels = ['3.8', '3.7', 'library', 'type-crash']
    title = '"RuntimeError: Dictionary changed size during iteration" when copying a WeakValueDictionary'
    updated_at = <Date 2021-01-27.15:37:56.397>
    user = 'https://github.com/ltfish'

    bugs.python.org fields:

    activity = <Date 2021-01-27.15:37:56.397>
    actor = 'tpaetz'
    assignee = 'none'
    closed = True
    closed_date = <Date 2019-02-07.20:09:29.295>
    closer = 'pitrou'
    components = ['Library (Lib)']
    creation = <Date 2018-12-29.20:45:37.886>
    creator = 'ltfish'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 35615
    keywords = ['patch', 'patch', 'patch', 'patch']
    message_count = 9.0
    messages = ['332734', '332781', '332789', '332790', '332793', '332794', '335038', '335039', '385638']
    nosy_count = 8.0
    nosy_names = ['fdrake', 'pitrou', 'serhiy.storchaka', 'eamanu', 'remi.lapeyre', 'ltfish', 'djromberg', 'tpaetz']
    pr_nums = ['11384', '11384', '11384', '11384', '11785', '11785', '11785']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'crash'
    url = 'https://bugs.python.org/issue35615'
    versions = ['Python 3.7', 'Python 3.8']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of life3.8 (EOL)end of lifestdlibStandard Library Python modules in the Lib/ directorytype-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