{"action":"created","issue":{"url":"https://api.github.com/repos/pcmanus/ccm/issues/417","labels_url":"https://api.github.com/repos/pcmanus/ccm/issues/417/labels{/name}","comments_url":"https://api.github.com/repos/pcmanus/ccm/issues/417/comments","events_url":"https://api.github.com/repos/pcmanus/ccm/issues/417/events","html_url":"https://github.com/pcmanus/ccm/pull/417","id":119569101,"number":417,"title":"ccmlib: Avoid passing mutable default argument to jvm_args","user":{"login":"lmr","id":296807,"avatar_url":"https://avatars.githubusercontent.com/u/296807?v=3","gravatar_id":"","url":"https://api.github.com/users/lmr","html_url":"https://github.com/lmr","followers_url":"https://api.github.com/users/lmr/followers","following_url":"https://api.github.com/users/lmr/following{/other_user}","gists_url":"https://api.github.com/users/lmr/gists{/gist_id}","starred_url":"https://api.github.com/users/lmr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lmr/subscriptions","organizations_url":"https://api.github.com/users/lmr/orgs","repos_url":"https://api.github.com/users/lmr/repos","events_url":"https://api.github.com/users/lmr/events{/privacy}","received_events_url":"https://api.github.com/users/lmr/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-30T20:05:23Z","updated_at":"2015-11-30T20:10:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/pcmanus/ccm/pulls/417","html_url":"https://github.com/pcmanus/ccm/pull/417","diff_url":"https://github.com/pcmanus/ccm/pull/417.diff","patch_url":"https://github.com/pcmanus/ccm/pull/417.patch"},"body":"Change jvm_args default value to None, then in the method\r\nbody check if it's None, then assign it to an empty list.\r\nThis avoids surprises if multiple calls to the methods\r\nare made [1].\r\n\r\n[1] http://docs.python-guide.org/en/latest/writing/gotchas/#mutable-default-arguments\r\n"},"comment":{"url":"https://api.github.com/repos/pcmanus/ccm/issues/comments/160745150","html_url":"https://github.com/pcmanus/ccm/pull/417#issuecomment-160745150","issue_url":"https://api.github.com/repos/pcmanus/ccm/issues/417","id":160745150,"user":{"login":"ptnapoleon","id":3408144,"avatar_url":"https://avatars.githubusercontent.com/u/3408144?v=3","gravatar_id":"","url":"https://api.github.com/users/ptnapoleon","html_url":"https://github.com/ptnapoleon","followers_url":"https://api.github.com/users/ptnapoleon/followers","following_url":"https://api.github.com/users/ptnapoleon/following{/other_user}","gists_url":"https://api.github.com/users/ptnapoleon/gists{/gist_id}","starred_url":"https://api.github.com/users/ptnapoleon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ptnapoleon/subscriptions","organizations_url":"https://api.github.com/users/ptnapoleon/orgs","repos_url":"https://api.github.com/users/ptnapoleon/repos","events_url":"https://api.github.com/users/ptnapoleon/events{/privacy}","received_events_url":"https://api.github.com/users/ptnapoleon/received_events","type":"User","site_admin":false},"created_at":"2015-11-30T20:10:13Z","updated_at":"2015-11-30T20:10:13Z","body":"+1, thanks!"}}