Skip to content
This repository was archived by the owner on Jun 16, 2021. It is now read-only.
This repository was archived by the owner on Jun 16, 2021. It is now read-only.

RuntimeError: dictionary changed size during iteration #40

@fmscole

Description

@fmscole

policy.py第110行:
for name, thing in locals().items():
应该改为:
for name, thing in list(locals().items()):
否则会出现异常RuntimeError: dictionary changed size during iteration

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions