{"action":"closed","number":5,"pull_request":{"url":"https://api.github.com/repos/cloudbase/PyMI/pulls/5","id":56343158,"html_url":"https://github.com/cloudbase/PyMI/pull/5","diff_url":"https://github.com/cloudbase/PyMI/pull/5.diff","patch_url":"https://github.com/cloudbase/PyMI/pull/5.patch","issue_url":"https://api.github.com/repos/cloudbase/PyMI/issues/5","number":5,"state":"closed","locked":false,"title":"wmi: Makes _get_method_params thread safe","user":{"login":"bclau","id":1552519,"avatar_url":"https://avatars.githubusercontent.com/u/1552519?v=3","gravatar_id":"","url":"https://api.github.com/users/bclau","html_url":"https://github.com/bclau","followers_url":"https://api.github.com/users/bclau/followers","following_url":"https://api.github.com/users/bclau/following{/other_user}","gists_url":"https://api.github.com/users/bclau/gists{/gist_id}","starred_url":"https://api.github.com/users/bclau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bclau/subscriptions","organizations_url":"https://api.github.com/users/bclau/orgs","repos_url":"https://api.github.com/users/bclau/repos","events_url":"https://api.github.com/users/bclau/events{/privacy}","received_events_url":"https://api.github.com/users/bclau/received_events","type":"User","site_admin":false},"body":"_get_method_params is supposed to return a unique Object\r\nin which a method's parameters are mapped. The issue is that\r\nit always returns the same object, which can be modified by\r\nmultiple threads, leading to erroneous method calls.\r\n\r\nMethod now returns a cloned object.","created_at":"2016-01-18T13:37:34Z","updated_at":"2016-01-18T13:44:23Z","closed_at":"2016-01-18T13:44:23Z","merged_at":"2016-01-18T13:44:23Z","merge_commit_sha":"87f754108615b7c422b8b1b721888530689e8a83","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cloudbase/PyMI/pulls/5/commits","review_comments_url":"https://api.github.com/repos/cloudbase/PyMI/pulls/5/comments","review_comment_url":"https://api.github.com/repos/cloudbase/PyMI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudbase/PyMI/issues/5/comments","statuses_url":"https://api.github.com/repos/cloudbase/PyMI/statuses/2403e01bb4ced6e2bae69ce9b63942b2a176c352","head":{"label":"bclau:method_params","ref":"method_params","sha":"2403e01bb4ced6e2bae69ce9b63942b2a176c352","user":{"login":"bclau","id":1552519,"avatar_url":"https://avatars.githubusercontent.com/u/1552519?v=3","gravatar_id":"","url":"https://api.github.com/users/bclau","html_url":"https://github.com/bclau","followers_url":"https://api.github.com/users/bclau/followers","following_url":"https://api.github.com/users/bclau/following{/other_user}","gists_url":"https://api.github.com/users/bclau/gists{/gist_id}","starred_url":"https://api.github.com/users/bclau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bclau/subscriptions","organizations_url":"https://api.github.com/users/bclau/orgs","repos_url":"https://api.github.com/users/bclau/repos","events_url":"https://api.github.com/users/bclau/events{/privacy}","received_events_url":"https://api.github.com/users/bclau/received_events","type":"User","site_admin":false},"repo":{"id":46516579,"name":"PyMI","full_name":"bclau/PyMI","owner":{"login":"bclau","id":1552519,"avatar_url":"https://avatars.githubusercontent.com/u/1552519?v=3","gravatar_id":"","url":"https://api.github.com/users/bclau","html_url":"https://github.com/bclau","followers_url":"https://api.github.com/users/bclau/followers","following_url":"https://api.github.com/users/bclau/following{/other_user}","gists_url":"https://api.github.com/users/bclau/gists{/gist_id}","starred_url":"https://api.github.com/users/bclau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bclau/subscriptions","organizations_url":"https://api.github.com/users/bclau/orgs","repos_url":"https://api.github.com/users/bclau/repos","events_url":"https://api.github.com/users/bclau/events{/privacy}","received_events_url":"https://api.github.com/users/bclau/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bclau/PyMI","description":"A blazing fast replacement for the Python WMI module","fork":true,"url":"https://api.github.com/repos/bclau/PyMI","forks_url":"https://api.github.com/repos/bclau/PyMI/forks","keys_url":"https://api.github.com/repos/bclau/PyMI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bclau/PyMI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bclau/PyMI/teams","hooks_url":"https://api.github.com/repos/bclau/PyMI/hooks","issue_events_url":"https://api.github.com/repos/bclau/PyMI/issues/events{/number}","events_url":"https://api.github.com/repos/bclau/PyMI/events","assignees_url":"https://api.github.com/repos/bclau/PyMI/assignees{/user}","branches_url":"https://api.github.com/repos/bclau/PyMI/branches{/branch}","tags_url":"https://api.github.com/repos/bclau/PyMI/tags","blobs_url":"https://api.github.com/repos/bclau/PyMI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bclau/PyMI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bclau/PyMI/git/refs{/sha}","trees_url":"https://api.github.com/repos/bclau/PyMI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bclau/PyMI/statuses/{sha}","languages_url":"https://api.github.com/repos/bclau/PyMI/languages","stargazers_url":"https://api.github.com/repos/bclau/PyMI/stargazers","contributors_url":"https://api.github.com/repos/bclau/PyMI/contributors","subscribers_url":"https://api.github.com/repos/bclau/PyMI/subscribers","subscription_url":"https://api.github.com/repos/bclau/PyMI/subscription","commits_url":"https://api.github.com/repos/bclau/PyMI/commits{/sha}","git_commits_url":"https://api.github.com/repos/bclau/PyMI/git/commits{/sha}","comments_url":"https://api.github.com/repos/bclau/PyMI/comments{/number}","issue_comment_url":"https://api.github.com/repos/bclau/PyMI/issues/comments{/number}","contents_url":"https://api.github.com/repos/bclau/PyMI/contents/{+path}","compare_url":"https://api.github.com/repos/bclau/PyMI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bclau/PyMI/merges","archive_url":"https://api.github.com/repos/bclau/PyMI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bclau/PyMI/downloads","issues_url":"https://api.github.com/repos/bclau/PyMI/issues{/number}","pulls_url":"https://api.github.com/repos/bclau/PyMI/pulls{/number}","milestones_url":"https://api.github.com/repos/bclau/PyMI/milestones{/number}","notifications_url":"https://api.github.com/repos/bclau/PyMI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bclau/PyMI/labels{/name}","releases_url":"https://api.github.com/repos/bclau/PyMI/releases{/id}","created_at":"2015-11-19T19:52:51Z","updated_at":"2016-01-11T17:41:42Z","pushed_at":"2016-01-18T13:36:53Z","git_url":"git://github.com/bclau/PyMI.git","ssh_url":"git@github.com:bclau/PyMI.git","clone_url":"https://github.com/bclau/PyMI.git","svn_url":"https://github.com/bclau/PyMI","homepage":null,"size":228,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudbase:master","ref":"master","sha":"6fc742a60699de5baef51b9d12317dcdaf5fe8af","user":{"login":"cloudbase","id":2104303,"avatar_url":"https://avatars.githubusercontent.com/u/2104303?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudbase","html_url":"https://github.com/cloudbase","followers_url":"https://api.github.com/users/cloudbase/followers","following_url":"https://api.github.com/users/cloudbase/following{/other_user}","gists_url":"https://api.github.com/users/cloudbase/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudbase/subscriptions","organizations_url":"https://api.github.com/users/cloudbase/orgs","repos_url":"https://api.github.com/users/cloudbase/repos","events_url":"https://api.github.com/users/cloudbase/events{/privacy}","received_events_url":"https://api.github.com/users/cloudbase/received_events","type":"Organization","site_admin":false},"repo":{"id":45840344,"name":"PyMI","full_name":"cloudbase/PyMI","owner":{"login":"cloudbase","id":2104303,"avatar_url":"https://avatars.githubusercontent.com/u/2104303?v=3","gravatar_id":"","url":"https://api.github.com/users/cloudbase","html_url":"https://github.com/cloudbase","followers_url":"https://api.github.com/users/cloudbase/followers","following_url":"https://api.github.com/users/cloudbase/following{/other_user}","gists_url":"https://api.github.com/users/cloudbase/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudbase/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudbase/subscriptions","organizations_url":"https://api.github.com/users/cloudbase/orgs","repos_url":"https://api.github.com/users/cloudbase/repos","events_url":"https://api.github.com/users/cloudbase/events{/privacy}","received_events_url":"https://api.github.com/users/cloudbase/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cloudbase/PyMI","description":"A blazing fast replacement for the Python WMI module","fork":false,"url":"https://api.github.com/repos/cloudbase/PyMI","forks_url":"https://api.github.com/repos/cloudbase/PyMI/forks","keys_url":"https://api.github.com/repos/cloudbase/PyMI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudbase/PyMI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudbase/PyMI/teams","hooks_url":"https://api.github.com/repos/cloudbase/PyMI/hooks","issue_events_url":"https://api.github.com/repos/cloudbase/PyMI/issues/events{/number}","events_url":"https://api.github.com/repos/cloudbase/PyMI/events","assignees_url":"https://api.github.com/repos/cloudbase/PyMI/assignees{/user}","branches_url":"https://api.github.com/repos/cloudbase/PyMI/branches{/branch}","tags_url":"https://api.github.com/repos/cloudbase/PyMI/tags","blobs_url":"https://api.github.com/repos/cloudbase/PyMI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudbase/PyMI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudbase/PyMI/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudbase/PyMI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudbase/PyMI/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudbase/PyMI/languages","stargazers_url":"https://api.github.com/repos/cloudbase/PyMI/stargazers","contributors_url":"https://api.github.com/repos/cloudbase/PyMI/contributors","subscribers_url":"https://api.github.com/repos/cloudbase/PyMI/subscribers","subscription_url":"https://api.github.com/repos/cloudbase/PyMI/subscription","commits_url":"https://api.github.com/repos/cloudbase/PyMI/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudbase/PyMI/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudbase/PyMI/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudbase/PyMI/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudbase/PyMI/contents/{+path}","compare_url":"https://api.github.com/repos/cloudbase/PyMI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudbase/PyMI/merges","archive_url":"https://api.github.com/repos/cloudbase/PyMI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudbase/PyMI/downloads","issues_url":"https://api.github.com/repos/cloudbase/PyMI/issues{/number}","pulls_url":"https://api.github.com/repos/cloudbase/PyMI/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudbase/PyMI/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudbase/PyMI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudbase/PyMI/labels{/name}","releases_url":"https://api.github.com/repos/cloudbase/PyMI/releases{/id}","created_at":"2015-11-09T13:43:20Z","updated_at":"2016-01-14T18:00:11Z","pushed_at":"2016-01-18T13:44:23Z","git_url":"git://github.com/cloudbase/PyMI.git","ssh_url":"git@github.com:cloudbase/PyMI.git","clone_url":"https://github.com/cloudbase/PyMI.git","svn_url":"https://github.com/cloudbase/PyMI","homepage":null,"size":228,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":2,"forks":2,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudbase/PyMI/pulls/5"},"html":{"href":"https://github.com/cloudbase/PyMI/pull/5"},"issue":{"href":"https://api.github.com/repos/cloudbase/PyMI/issues/5"},"comments":{"href":"https://api.github.com/repos/cloudbase/PyMI/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudbase/PyMI/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudbase/PyMI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudbase/PyMI/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/cloudbase/PyMI/statuses/2403e01bb4ced6e2bae69ce9b63942b2a176c352"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"alexpilotti","id":1754347,"avatar_url":"https://avatars.githubusercontent.com/u/1754347?v=3","gravatar_id":"","url":"https://api.github.com/users/alexpilotti","html_url":"https://github.com/alexpilotti","followers_url":"https://api.github.com/users/alexpilotti/followers","following_url":"https://api.github.com/users/alexpilotti/following{/other_user}","gists_url":"https://api.github.com/users/alexpilotti/gists{/gist_id}","starred_url":"https://api.github.com/users/alexpilotti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexpilotti/subscriptions","organizations_url":"https://api.github.com/users/alexpilotti/orgs","repos_url":"https://api.github.com/users/alexpilotti/repos","events_url":"https://api.github.com/users/alexpilotti/events{/privacy}","received_events_url":"https://api.github.com/users/alexpilotti/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":1,"deletions":2,"changed_files":1}}