{"action":"opened","issue":{"url":"https://api.github.com/repos/JuliaLang/julia/issues/16550","repository_url":"https://api.github.com/repos/JuliaLang/julia","labels_url":"https://api.github.com/repos/JuliaLang/julia/issues/16550/labels{/name}","comments_url":"https://api.github.com/repos/JuliaLang/julia/issues/16550/comments","events_url":"https://api.github.com/repos/JuliaLang/julia/issues/16550/events","html_url":"https://github.com/JuliaLang/julia/issues/16550","id":156453884,"number":16550,"title":"Base.WeakKeyDicts are not iterable ","user":{"login":"amitmurthy","id":117461,"avatar_url":"https://avatars.githubusercontent.com/u/117461?v=3","gravatar_id":"","url":"https://api.github.com/users/amitmurthy","html_url":"https://github.com/amitmurthy","followers_url":"https://api.github.com/users/amitmurthy/followers","following_url":"https://api.github.com/users/amitmurthy/following{/other_user}","gists_url":"https://api.github.com/users/amitmurthy/gists{/gist_id}","starred_url":"https://api.github.com/users/amitmurthy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amitmurthy/subscriptions","organizations_url":"https://api.github.com/users/amitmurthy/orgs","repos_url":"https://api.github.com/users/amitmurthy/repos","events_url":"https://api.github.com/users/amitmurthy/events{/privacy}","received_events_url":"https://api.github.com/users/amitmurthy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-24T08:55:54Z","updated_at":"2016-05-24T08:55:54Z","closed_at":null,"body":"Feel free to close this if this is a limitation by design.\r\n\r\nCurrently the following results in an UndefVarError fairly consistently.\r\n\r\n```\r\ntype Foo\r\n  x\r\nend\r\n\r\nd = Base.WeakKeyDict()\r\n\r\nfor i in 1:10^4\r\n    d[Foo(i)] = true\r\nend\r\n\r\nd\r\nd\r\nd\r\n```\r\n\r\nI guess the entries from `WeakKeyDict` can be removed in the middle of an iteration and hence the error."}}
{"actor":{"display_login":"amitmurthy"}}