{"action":"created","comment":{"url":"https://api.github.com/repos/pcmanus/ccm/pulls/comments/41472015","id":41472015,"diff_hunk":"@@ -920,7 +920,12 @@ def get_sstables(self, keyspace, column_family):\n                 files.remove(f)\n         return files\n \n-    def stress(self, stress_options=[], **kwargs):\n+    def stress(self, stress_options=None, **kwargs):\n+        if stress_options is None:\n+            stress_options = []\n+        else:\n+            stress_options = stress_options[:]","path":"ccmlib/node.py","position":9,"original_position":9,"commit_id":"a6720e18e4b5333962c8cbc152e2d27d83f46af0","original_commit_id":"a6720e18e4b5333962c8cbc152e2d27d83f46af0","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},"body":"What is this for?","created_at":"2015-10-08T03:02:31Z","updated_at":"2015-10-08T03:02:31Z","html_url":"https://github.com/pcmanus/ccm/pull/385#discussion_r41472015","pull_request_url":"https://api.github.com/repos/pcmanus/ccm/pulls/385","_links":{"self":{"href":"https://api.github.com/repos/pcmanus/ccm/pulls/comments/41472015"},"html":{"href":"https://github.com/pcmanus/ccm/pull/385#discussion_r41472015"},"pull_request":{"href":"https://api.github.com/repos/pcmanus/ccm/pulls/385"}}},"pull_request":{"url":"https://api.github.com/repos/pcmanus/ccm/pulls/385","id":47103609,"html_url":"https://github.com/pcmanus/ccm/pull/385","diff_url":"https://github.com/pcmanus/ccm/pull/385.diff","patch_url":"https://github.com/pcmanus/ccm/pull/385.patch","issue_url":"https://api.github.com/repos/pcmanus/ccm/issues/385","number":385,"state":"open","locked":false,"title":"node.stress mutability fixes","user":{"login":"knifewine","id":123593,"avatar_url":"https://avatars.githubusercontent.com/u/123593?v=3","gravatar_id":"","url":"https://api.github.com/users/knifewine","html_url":"https://github.com/knifewine","followers_url":"https://api.github.com/users/knifewine/followers","following_url":"https://api.github.com/users/knifewine/following{/other_user}","gists_url":"https://api.github.com/users/knifewine/gists{/gist_id}","starred_url":"https://api.github.com/users/knifewine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knifewine/subscriptions","organizations_url":"https://api.github.com/users/knifewine/orgs","repos_url":"https://api.github.com/users/knifewine/repos","events_url":"https://api.github.com/users/knifewine/events{/privacy}","received_events_url":"https://api.github.com/users/knifewine/received_events","type":"User","site_admin":false},"body":"don't use mutable default default arg\r\nand don't do an in-place update to passed arg either","created_at":"2015-10-08T01:49:17Z","updated_at":"2015-10-08T03:02:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4b5b6765a4193906406e25abeba891f24f2ea781","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/pcmanus/ccm/pulls/385/commits","review_comments_url":"https://api.github.com/repos/pcmanus/ccm/pulls/385/comments","review_comment_url":"https://api.github.com/repos/pcmanus/ccm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pcmanus/ccm/issues/385/comments","statuses_url":"https://api.github.com/repos/pcmanus/ccm/statuses/a6720e18e4b5333962c8cbc152e2d27d83f46af0","head":{"label":"knifewine:fix_node_stress","ref":"fix_node_stress","sha":"a6720e18e4b5333962c8cbc152e2d27d83f46af0","user":{"login":"knifewine","id":123593,"avatar_url":"https://avatars.githubusercontent.com/u/123593?v=3","gravatar_id":"","url":"https://api.github.com/users/knifewine","html_url":"https://github.com/knifewine","followers_url":"https://api.github.com/users/knifewine/followers","following_url":"https://api.github.com/users/knifewine/following{/other_user}","gists_url":"https://api.github.com/users/knifewine/gists{/gist_id}","starred_url":"https://api.github.com/users/knifewine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knifewine/subscriptions","organizations_url":"https://api.github.com/users/knifewine/orgs","repos_url":"https://api.github.com/users/knifewine/repos","events_url":"https://api.github.com/users/knifewine/events{/privacy}","received_events_url":"https://api.github.com/users/knifewine/received_events","type":"User","site_admin":false},"repo":{"id":43854355,"name":"ccm","full_name":"knifewine/ccm","owner":{"login":"knifewine","id":123593,"avatar_url":"https://avatars.githubusercontent.com/u/123593?v=3","gravatar_id":"","url":"https://api.github.com/users/knifewine","html_url":"https://github.com/knifewine","followers_url":"https://api.github.com/users/knifewine/followers","following_url":"https://api.github.com/users/knifewine/following{/other_user}","gists_url":"https://api.github.com/users/knifewine/gists{/gist_id}","starred_url":"https://api.github.com/users/knifewine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/knifewine/subscriptions","organizations_url":"https://api.github.com/users/knifewine/orgs","repos_url":"https://api.github.com/users/knifewine/repos","events_url":"https://api.github.com/users/knifewine/events{/privacy}","received_events_url":"https://api.github.com/users/knifewine/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/knifewine/ccm","description":"A script to easily create and destroy an Apache Cassandra cluster on localhost","fork":true,"url":"https://api.github.com/repos/knifewine/ccm","forks_url":"https://api.github.com/repos/knifewine/ccm/forks","keys_url":"https://api.github.com/repos/knifewine/ccm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/knifewine/ccm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/knifewine/ccm/teams","hooks_url":"https://api.github.com/repos/knifewine/ccm/hooks","issue_events_url":"https://api.github.com/repos/knifewine/ccm/issues/events{/number}","events_url":"https://api.github.com/repos/knifewine/ccm/events","assignees_url":"https://api.github.com/repos/knifewine/ccm/assignees{/user}","branches_url":"https://api.github.com/repos/knifewine/ccm/branches{/branch}","tags_url":"https://api.github.com/repos/knifewine/ccm/tags","blobs_url":"https://api.github.com/repos/knifewine/ccm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/knifewine/ccm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/knifewine/ccm/git/refs{/sha}","trees_url":"https://api.github.com/repos/knifewine/ccm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/knifewine/ccm/statuses/{sha}","languages_url":"https://api.github.com/repos/knifewine/ccm/languages","stargazers_url":"https://api.github.com/repos/knifewine/ccm/stargazers","contributors_url":"https://api.github.com/repos/knifewine/ccm/contributors","subscribers_url":"https://api.github.com/repos/knifewine/ccm/subscribers","subscription_url":"https://api.github.com/repos/knifewine/ccm/subscription","commits_url":"https://api.github.com/repos/knifewine/ccm/commits{/sha}","git_commits_url":"https://api.github.com/repos/knifewine/ccm/git/commits{/sha}","comments_url":"https://api.github.com/repos/knifewine/ccm/comments{/number}","issue_comment_url":"https://api.github.com/repos/knifewine/ccm/issues/comments{/number}","contents_url":"https://api.github.com/repos/knifewine/ccm/contents/{+path}","compare_url":"https://api.github.com/repos/knifewine/ccm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/knifewine/ccm/merges","archive_url":"https://api.github.com/repos/knifewine/ccm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/knifewine/ccm/downloads","issues_url":"https://api.github.com/repos/knifewine/ccm/issues{/number}","pulls_url":"https://api.github.com/repos/knifewine/ccm/pulls{/number}","milestones_url":"https://api.github.com/repos/knifewine/ccm/milestones{/number}","notifications_url":"https://api.github.com/repos/knifewine/ccm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/knifewine/ccm/labels{/name}","releases_url":"https://api.github.com/repos/knifewine/ccm/releases{/id}","created_at":"2015-10-08T01:12:16Z","updated_at":"2015-10-08T01:12:17Z","pushed_at":"2015-10-08T01:48:39Z","git_url":"git://github.com/knifewine/ccm.git","ssh_url":"git@github.com:knifewine/ccm.git","clone_url":"https://github.com/knifewine/ccm.git","svn_url":"https://github.com/knifewine/ccm","homepage":"","size":2626,"stargazers_count":0,"watchers_count":0,"language":"Python","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":"pcmanus:develop","ref":"develop","sha":"78a56b539c3a6242f5831e758194977420ed99ea","user":{"login":"pcmanus","id":479957,"avatar_url":"https://avatars.githubusercontent.com/u/479957?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmanus","html_url":"https://github.com/pcmanus","followers_url":"https://api.github.com/users/pcmanus/followers","following_url":"https://api.github.com/users/pcmanus/following{/other_user}","gists_url":"https://api.github.com/users/pcmanus/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmanus/subscriptions","organizations_url":"https://api.github.com/users/pcmanus/orgs","repos_url":"https://api.github.com/users/pcmanus/repos","events_url":"https://api.github.com/users/pcmanus/events{/privacy}","received_events_url":"https://api.github.com/users/pcmanus/received_events","type":"User","site_admin":false},"repo":{"id":1425437,"name":"ccm","full_name":"pcmanus/ccm","owner":{"login":"pcmanus","id":479957,"avatar_url":"https://avatars.githubusercontent.com/u/479957?v=3","gravatar_id":"","url":"https://api.github.com/users/pcmanus","html_url":"https://github.com/pcmanus","followers_url":"https://api.github.com/users/pcmanus/followers","following_url":"https://api.github.com/users/pcmanus/following{/other_user}","gists_url":"https://api.github.com/users/pcmanus/gists{/gist_id}","starred_url":"https://api.github.com/users/pcmanus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pcmanus/subscriptions","organizations_url":"https://api.github.com/users/pcmanus/orgs","repos_url":"https://api.github.com/users/pcmanus/repos","events_url":"https://api.github.com/users/pcmanus/events{/privacy}","received_events_url":"https://api.github.com/users/pcmanus/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pcmanus/ccm","description":"A script to easily create and destroy an Apache Cassandra cluster on localhost","fork":false,"url":"https://api.github.com/repos/pcmanus/ccm","forks_url":"https://api.github.com/repos/pcmanus/ccm/forks","keys_url":"https://api.github.com/repos/pcmanus/ccm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pcmanus/ccm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pcmanus/ccm/teams","hooks_url":"https://api.github.com/repos/pcmanus/ccm/hooks","issue_events_url":"https://api.github.com/repos/pcmanus/ccm/issues/events{/number}","events_url":"https://api.github.com/repos/pcmanus/ccm/events","assignees_url":"https://api.github.com/repos/pcmanus/ccm/assignees{/user}","branches_url":"https://api.github.com/repos/pcmanus/ccm/branches{/branch}","tags_url":"https://api.github.com/repos/pcmanus/ccm/tags","blobs_url":"https://api.github.com/repos/pcmanus/ccm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pcmanus/ccm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pcmanus/ccm/git/refs{/sha}","trees_url":"https://api.github.com/repos/pcmanus/ccm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pcmanus/ccm/statuses/{sha}","languages_url":"https://api.github.com/repos/pcmanus/ccm/languages","stargazers_url":"https://api.github.com/repos/pcmanus/ccm/stargazers","contributors_url":"https://api.github.com/repos/pcmanus/ccm/contributors","subscribers_url":"https://api.github.com/repos/pcmanus/ccm/subscribers","subscription_url":"https://api.github.com/repos/pcmanus/ccm/subscription","commits_url":"https://api.github.com/repos/pcmanus/ccm/commits{/sha}","git_commits_url":"https://api.github.com/repos/pcmanus/ccm/git/commits{/sha}","comments_url":"https://api.github.com/repos/pcmanus/ccm/comments{/number}","issue_comment_url":"https://api.github.com/repos/pcmanus/ccm/issues/comments{/number}","contents_url":"https://api.github.com/repos/pcmanus/ccm/contents/{+path}","compare_url":"https://api.github.com/repos/pcmanus/ccm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pcmanus/ccm/merges","archive_url":"https://api.github.com/repos/pcmanus/ccm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pcmanus/ccm/downloads","issues_url":"https://api.github.com/repos/pcmanus/ccm/issues{/number}","pulls_url":"https://api.github.com/repos/pcmanus/ccm/pulls{/number}","milestones_url":"https://api.github.com/repos/pcmanus/ccm/milestones{/number}","notifications_url":"https://api.github.com/repos/pcmanus/ccm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pcmanus/ccm/labels{/name}","releases_url":"https://api.github.com/repos/pcmanus/ccm/releases{/id}","created_at":"2011-03-01T09:42:18Z","updated_at":"2015-10-07T18:35:29Z","pushed_at":"2015-10-08T01:49:17Z","git_url":"git://github.com/pcmanus/ccm.git","ssh_url":"git@github.com:pcmanus/ccm.git","clone_url":"https://github.com/pcmanus/ccm.git","svn_url":"https://github.com/pcmanus/ccm","homepage":"","size":2626,"stargazers_count":536,"watchers_count":536,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":149,"mirror_url":null,"open_issues_count":33,"forks":149,"open_issues":33,"watchers":536,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pcmanus/ccm/pulls/385"},"html":{"href":"https://github.com/pcmanus/ccm/pull/385"},"issue":{"href":"https://api.github.com/repos/pcmanus/ccm/issues/385"},"comments":{"href":"https://api.github.com/repos/pcmanus/ccm/issues/385/comments"},"review_comments":{"href":"https://api.github.com/repos/pcmanus/ccm/pulls/385/comments"},"review_comment":{"href":"https://api.github.com/repos/pcmanus/ccm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pcmanus/ccm/pulls/385/commits"},"statuses":{"href":"https://api.github.com/repos/pcmanus/ccm/statuses/a6720e18e4b5333962c8cbc152e2d27d83f46af0"}}}}