{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/ycmd/issues/246","labels_url":"https://api.github.com/repos/Valloric/ycmd/issues/246/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/ycmd/issues/246/comments","events_url":"https://api.github.com/repos/Valloric/ycmd/issues/246/events","html_url":"https://github.com/Valloric/ycmd/pull/246","id":108531222,"number":246,"title":"Use a http wrapper for jedi","user":{"login":"vheon","id":90633,"avatar_url":"https://avatars.githubusercontent.com/u/90633?v=3","gravatar_id":"","url":"https://api.github.com/users/vheon","html_url":"https://github.com/vheon","followers_url":"https://api.github.com/users/vheon/followers","following_url":"https://api.github.com/users/vheon/following{/other_user}","gists_url":"https://api.github.com/users/vheon/gists{/gist_id}","starred_url":"https://api.github.com/users/vheon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vheon/subscriptions","organizations_url":"https://api.github.com/users/vheon/orgs","repos_url":"https://api.github.com/users/vheon/repos","events_url":"https://api.github.com/users/vheon/events{/privacy}","received_events_url":"https://api.github.com/users/vheon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-09-27T11:59:59Z","updated_at":"2015-09-28T20:54:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Valloric/ycmd/pulls/246","html_url":"https://github.com/Valloric/ycmd/pull/246","diff_url":"https://github.com/Valloric/ycmd/pull/246.diff","patch_url":"https://github.com/Valloric/ycmd/pull/246.patch"},"body":"This is the first step to support python completions for python version different from the one ycmd is currently running.\r\n\r\n# What this change does\r\n\r\nThe jedi library is still used, but instead of calling it directly we now wrapped in a http+JSON server.\r\n\r\n# Testing\r\n\r\nThe test have been updated to solicit the completer first with a `FileReadyToParse` event, which would start a JediHTTP server if one is not running (similarly to the `OmnisharpServer` tests). The tests for the `GoTo` subcommand family have been updated to test all three of the subcommands.\r\n\r\n# Notes\r\n\r\nTwo subcommand have been added: `RestartServer` and `StopServer` but only the `RestartServer` is exposed through the user by the `DefinedSubcommand` method, this is because I think that the `StopServer` command is not useful for the user but is useful in the testing phase for shutting down the JediHTTP.\r\n\r\n\r\nI have one question: would make sense to rename any reference from `jedi_completer` to `python_completer`? If it is I will make another PR.\r\n\r\n@reinhrst If you could test this would be awesome :)\n\n<!-- Reviewable:start -->\n[<img src=\"https://reviewable.io/review_button.png\" height=40 alt=\"Review on Reviewable\"/>](https://reviewable.io/reviews/valloric/ycmd/246)\n<!-- Reviewable:end -->\n"},"comment":{"url":"https://api.github.com/repos/Valloric/ycmd/issues/comments/143870802","html_url":"https://github.com/Valloric/ycmd/pull/246#issuecomment-143870802","issue_url":"https://api.github.com/repos/Valloric/ycmd/issues/246","id":143870802,"user":{"login":"puremourning","id":10584846,"avatar_url":"https://avatars.githubusercontent.com/u/10584846?v=3","gravatar_id":"","url":"https://api.github.com/users/puremourning","html_url":"https://github.com/puremourning","followers_url":"https://api.github.com/users/puremourning/followers","following_url":"https://api.github.com/users/puremourning/following{/other_user}","gists_url":"https://api.github.com/users/puremourning/gists{/gist_id}","starred_url":"https://api.github.com/users/puremourning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puremourning/subscriptions","organizations_url":"https://api.github.com/users/puremourning/orgs","repos_url":"https://api.github.com/users/puremourning/repos","events_url":"https://api.github.com/users/puremourning/events{/privacy}","received_events_url":"https://api.github.com/users/puremourning/received_events","type":"User","site_admin":false},"created_at":"2015-09-28T20:54:03Z","updated_at":"2015-09-28T20:54:03Z","body":"Of course! No problem :)"}}