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

Description

@fmscole

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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