{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/7058","labels_url":"https://api.github.com/repos/apache/spark/issues/7058/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/7058/comments","events_url":"https://api.github.com/repos/apache/spark/issues/7058/events","html_url":"https://github.com/apache/spark/pull/7058","id":91490362,"number":7058,"title":"[SPARK-8679] [PySpark] [MLlib] Default values in Pipeline API should be immutable","user":{"login":"MechCoder","id":1867024,"avatar_url":"https://avatars.githubusercontent.com/u/1867024?v=3","gravatar_id":"","url":"https://api.github.com/users/MechCoder","html_url":"https://github.com/MechCoder","followers_url":"https://api.github.com/users/MechCoder/followers","following_url":"https://api.github.com/users/MechCoder/following{/other_user}","gists_url":"https://api.github.com/users/MechCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/MechCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MechCoder/subscriptions","organizations_url":"https://api.github.com/users/MechCoder/orgs","repos_url":"https://api.github.com/users/MechCoder/repos","events_url":"https://api.github.com/users/MechCoder/events{/privacy}","received_events_url":"https://api.github.com/users/MechCoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-06-27T16:48:55Z","updated_at":"2015-06-27T18:30:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/7058","html_url":"https://github.com/apache/spark/pull/7058","diff_url":"https://github.com/apache/spark/pull/7058.diff","patch_url":"https://github.com/apache/spark/pull/7058.patch"},"body":"It might be dangerous to have a mutable as value for default param. (http://stackoverflow.com/a/11416002/1170730)\r\n\r\ne.g\r\n\r\n    def func(example, f={}):\r\n        f[example] = 1\r\n        return f\r\n\r\n    func(2)\r\n    {2: 1}\r\n    func(3)\r\n    {2:1, 3:1}"},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/116114519","html_url":"https://github.com/apache/spark/pull/7058#issuecomment-116114519","issue_url":"https://api.github.com/repos/apache/spark/issues/7058","id":116114519,"user":{"login":"AmplabJenkins","id":4031291,"avatar_url":"https://avatars.githubusercontent.com/u/4031291?v=3","gravatar_id":"","url":"https://api.github.com/users/AmplabJenkins","html_url":"https://github.com/AmplabJenkins","followers_url":"https://api.github.com/users/AmplabJenkins/followers","following_url":"https://api.github.com/users/AmplabJenkins/following{/other_user}","gists_url":"https://api.github.com/users/AmplabJenkins/gists{/gist_id}","starred_url":"https://api.github.com/users/AmplabJenkins/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AmplabJenkins/subscriptions","organizations_url":"https://api.github.com/users/AmplabJenkins/orgs","repos_url":"https://api.github.com/users/AmplabJenkins/repos","events_url":"https://api.github.com/users/AmplabJenkins/events{/privacy}","received_events_url":"https://api.github.com/users/AmplabJenkins/received_events","type":"User","site_admin":false},"created_at":"2015-06-27T18:30:53Z","updated_at":"2015-06-27T18:30:53Z","body":"Merged build started."}}