{"action":"created","issue":{"url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/33","labels_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/33/comments","events_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/33/events","html_url":"https://github.com/artur-shaik/vim-javacomplete2/pull/33","id":96704273,"number":33,"title":"Make Javacomplete works with python 2 or 3.","user":{"login":"Townk","id":1261,"avatar_url":"https://avatars.githubusercontent.com/u/1261?v=3","gravatar_id":"","url":"https://api.github.com/users/Townk","html_url":"https://github.com/Townk","followers_url":"https://api.github.com/users/Townk/followers","following_url":"https://api.github.com/users/Townk/following{/other_user}","gists_url":"https://api.github.com/users/Townk/gists{/gist_id}","starred_url":"https://api.github.com/users/Townk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Townk/subscriptions","organizations_url":"https://api.github.com/users/Townk/orgs","repos_url":"https://api.github.com/users/Townk/repos","events_url":"https://api.github.com/users/Townk/events{/privacy}","received_events_url":"https://api.github.com/users/Townk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-07-23T01:26:22Z","updated_at":"2015-07-27T07:25:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/pulls/33","html_url":"https://github.com/artur-shaik/vim-javacomplete2/pull/33","diff_url":"https://github.com/artur-shaik/vim-javacomplete2/pull/33.diff","patch_url":"https://github.com/artur-shaik/vim-javacomplete2/pull/33.patch"},"body":"[Problem]\r\nCurrently javacomplete plugin relies on Python to do some of its work.\r\nUnfortunately it strictly rely on Python 2 even though the code can run on\r\nPython 3 without any problem.\r\n\r\n[Solution]\r\nMake the code first check which Python is available and the first one.\r\n\r\n[Notes]\r\nThis change essentially remove the use of pyeval due the fact Vim does not\r\nsupport this function if only Python 3 is available.\r\n\r\nAlso, I put a check on the beginning of the file to guarantee that we don't\r\nproceed if no Pythno is available.\r\n\r\nSigned-off-by: Thiago Alves <talk@thiagoalves.com.br>"},"comment":{"url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/comments/125109773","html_url":"https://github.com/artur-shaik/vim-javacomplete2/pull/33#issuecomment-125109773","issue_url":"https://api.github.com/repos/artur-shaik/vim-javacomplete2/issues/33","id":125109773,"user":{"login":"Townk","id":1261,"avatar_url":"https://avatars.githubusercontent.com/u/1261?v=3","gravatar_id":"","url":"https://api.github.com/users/Townk","html_url":"https://github.com/Townk","followers_url":"https://api.github.com/users/Townk/followers","following_url":"https://api.github.com/users/Townk/following{/other_user}","gists_url":"https://api.github.com/users/Townk/gists{/gist_id}","starred_url":"https://api.github.com/users/Townk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Townk/subscriptions","organizations_url":"https://api.github.com/users/Townk/orgs","repos_url":"https://api.github.com/users/Townk/repos","events_url":"https://api.github.com/users/Townk/events{/privacy}","received_events_url":"https://api.github.com/users/Townk/received_events","type":"User","site_admin":false},"created_at":"2015-07-27T07:25:29Z","updated_at":"2015-07-27T07:25:29Z","body":"@mattn if I define the commands as buffer commands wouldn't that cause problems to the second java file I open?\r\n\r\nAlso, I already rolled back the white space changes."}}