{"action":"created","issue":{"url":"https://api.github.com/repos/pywbem/pywbem/issues/186","repository_url":"https://api.github.com/repos/pywbem/pywbem","labels_url":"https://api.github.com/repos/pywbem/pywbem/issues/186/labels{/name}","comments_url":"https://api.github.com/repos/pywbem/pywbem/issues/186/comments","events_url":"https://api.github.com/repos/pywbem/pywbem/issues/186/events","html_url":"https://github.com/pywbem/pywbem/pull/186","id":146297664,"number":186,"title":"Fixes #185: Fixed KeyError when iterating over CIMInstance or CIMInstanceName.","user":{"login":"andy-maier","id":8939758,"avatar_url":"https://avatars.githubusercontent.com/u/8939758?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"andy-maier","id":8939758,"avatar_url":"https://avatars.githubusercontent.com/u/8939758?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/pywbem/pywbem/milestones/2","html_url":"https://github.com/pywbem/pywbem/milestones/0.9.0","labels_url":"https://api.github.com/repos/pywbem/pywbem/milestones/2/labels","id":1526630,"number":2,"title":"0.9.0","description":null,"creator":{"login":"andy-maier","id":8939758,"avatar_url":"https://avatars.githubusercontent.com/u/8939758?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"open_issues":38,"closed_issues":45,"state":"open","created_at":"2016-01-20T17:44:04Z","updated_at":"2016-04-06T23:12:47Z","due_on":null,"closed_at":null},"comments":4,"created_at":"2016-04-06T12:23:19Z","updated_at":"2016-04-06T23:45:23Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pywbem/pywbem/pulls/186","html_url":"https://github.com/pywbem/pywbem/pull/186","diff_url":"https://github.com/pywbem/pywbem/pull/186.diff","patch_url":"https://github.com/pywbem/pywbem/pull/186.patch"},"body":"Fixed the problem and extended the testcases in the `DictTest` class in `test_cim_obj.py` so that the problem would have been found. Also, changed from hard-coding the expected dict values to passing them in.\r\n\r\nReady for merging, please review."},"comment":{"url":"https://api.github.com/repos/pywbem/pywbem/issues/comments/206623830","html_url":"https://github.com/pywbem/pywbem/pull/186#issuecomment-206623830","issue_url":"https://api.github.com/repos/pywbem/pywbem/issues/186","id":206623830,"user":{"login":"andy-maier","id":8939758,"avatar_url":"https://avatars.githubusercontent.com/u/8939758?v=3","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"created_at":"2016-04-06T23:45:23Z","updated_at":"2016-04-06T23:45:23Z","body":"The new `__iter__()` functions are not docstringed for the same reason the existing `__getitem__()`, etc. functions are also not docstringed: We say that the class behaves like a dict, and the undocumented functions are exactly what makes up a dict. The idea is that saying it behaves like a dict is sufficient.\r\n\r\nIf you prefer having these 5 or so dict-supporting functions docstringed, that would also be fine with me."}}