{"action":"created","issue":{"url":"https://api.github.com/repos/apache/spark/issues/12983","repository_url":"https://api.github.com/repos/apache/spark","labels_url":"https://api.github.com/repos/apache/spark/issues/12983/labels{/name}","comments_url":"https://api.github.com/repos/apache/spark/issues/12983/comments","events_url":"https://api.github.com/repos/apache/spark/issues/12983/events","html_url":"https://github.com/apache/spark/pull/12983","id":153641143,"number":12983,"title":"[DO-NOT-MERGE][TEST] Unify 'range' usage","user":{"login":"zhengruifeng","id":7322292,"avatar_url":"https://avatars.githubusercontent.com/u/7322292?v=3","gravatar_id":"","url":"https://api.github.com/users/zhengruifeng","html_url":"https://github.com/zhengruifeng","followers_url":"https://api.github.com/users/zhengruifeng/followers","following_url":"https://api.github.com/users/zhengruifeng/following{/other_user}","gists_url":"https://api.github.com/users/zhengruifeng/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengruifeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengruifeng/subscriptions","organizations_url":"https://api.github.com/users/zhengruifeng/orgs","repos_url":"https://api.github.com/users/zhengruifeng/repos","events_url":"https://api.github.com/users/zhengruifeng/events{/privacy}","received_events_url":"https://api.github.com/users/zhengruifeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-08T07:19:22Z","updated_at":"2016-05-08T08:58:58Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/apache/spark/pulls/12983","html_url":"https://github.com/apache/spark/pull/12983","diff_url":"https://github.com/apache/spark/pull/12983.diff","patch_url":"https://github.com/apache/spark/pull/12983.patch"},"body":"## What changes were proposed in this pull request?\r\nMost python file directly use `range` ignoring the different implement between python 2 and 3.\r\n\r\n1, use `range` in pyspark\r\n2, for python2, `range = xrange`\r\n\r\n## How was this patch tested?\r\nno tests\r\n\r\nI will create the JIRA if all tests pass."},"comment":{"url":"https://api.github.com/repos/apache/spark/issues/comments/217704515","html_url":"https://github.com/apache/spark/pull/12983#issuecomment-217704515","issue_url":"https://api.github.com/repos/apache/spark/issues/12983","id":217704515,"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":"2016-05-08T08:58:58Z","updated_at":"2016-05-08T08:58:58Z","body":"Merged build finished. Test PASSed."}}