{"action":"created","comment":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/comments/33030162","id":33030162,"diff_hunk":"@@ -162,16 +162,24 @@\n \n       (defun python-setup-shell ()\n         (if (executable-find \"ipython\")\n-            (setq python-shell-interpreter \"ipython\"\n-                  ;; python-shell-interpreter-args (if (system-is-mac)\n-                  ;;                                   \"--gui=osx --matplotlib=osx --colors=Linux\"\n-                  ;;                                 (if (system-is-linux)\n-                  ;;                                     \"--gui=wx --matplotlib=wx --colors=Linux\"))\n-                  python-shell-prompt-regexp \"In \\\\[[0-9]+\\\\]: \"\n-                  python-shell-prompt-output-regexp \"Out\\\\[[0-9]+\\\\]: \"\n-                  python-shell-completion-setup-code \"from IPython.core.completerlib import module_completion\"\n-                  python-shell-completion-module-string-code \"';'.join(module_completion('''%s'''))\\n\"\n-                  python-shell-completion-string-code \"';'.join(get_ipython().Completer.all_completions('''%s'''))\\n\")\n+            (if (system-is-mswindows)\n+                (setq python-shell-interpreter \"python\"\n+                      python-shell-interpreter-args \"-i c:\\\\python27\\\\scripts\\\\ipython-script.py\"","path":"contrib/!lang/python/packages.el","position":null,"original_position":16,"commit_id":"96d7126f3367aff0a600e9efa9de835be907eb94","original_commit_id":"2c5b10bb69df8ba7955297c5829cef095d949625","user":{"login":"yqu212","id":5894444,"avatar_url":"https://avatars.githubusercontent.com/u/5894444?v=3","gravatar_id":"","url":"https://api.github.com/users/yqu212","html_url":"https://github.com/yqu212","followers_url":"https://api.github.com/users/yqu212/followers","following_url":"https://api.github.com/users/yqu212/following{/other_user}","gists_url":"https://api.github.com/users/yqu212/gists{/gist_id}","starred_url":"https://api.github.com/users/yqu212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yqu212/subscriptions","organizations_url":"https://api.github.com/users/yqu212/orgs","repos_url":"https://api.github.com/users/yqu212/repos","events_url":"https://api.github.com/users/yqu212/events{/privacy}","received_events_url":"https://api.github.com/users/yqu212/received_events","type":"User","site_admin":false},"body":"I have added the relative path to ipython-script.py with \r\n\r\n(concat \"-i \" (file-name-directory (executable-find \"ipython\")) \"ipython-script.py\").","created_at":"2015-06-23T11:03:24Z","updated_at":"2015-06-23T11:03:24Z","html_url":"https://github.com/syl20bnr/spacemacs/pull/2075#discussion_r33030162","pull_request_url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/2075","_links":{"self":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/comments/33030162"},"html":{"href":"https://github.com/syl20bnr/spacemacs/pull/2075#discussion_r33030162"},"pull_request":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/2075"}}},"pull_request":{"url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/2075","id":38229840,"html_url":"https://github.com/syl20bnr/spacemacs/pull/2075","diff_url":"https://github.com/syl20bnr/spacemacs/pull/2075.diff","patch_url":"https://github.com/syl20bnr/spacemacs/pull/2075.patch","issue_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/2075","number":2075,"state":"open","locked":false,"title":"Python layer: fix the problem of ipython hanging on windows ","user":{"login":"yqu212","id":5894444,"avatar_url":"https://avatars.githubusercontent.com/u/5894444?v=3","gravatar_id":"","url":"https://api.github.com/users/yqu212","html_url":"https://github.com/yqu212","followers_url":"https://api.github.com/users/yqu212/followers","following_url":"https://api.github.com/users/yqu212/following{/other_user}","gists_url":"https://api.github.com/users/yqu212/gists{/gist_id}","starred_url":"https://api.github.com/users/yqu212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yqu212/subscriptions","organizations_url":"https://api.github.com/users/yqu212/orgs","repos_url":"https://api.github.com/users/yqu212/repos","events_url":"https://api.github.com/users/yqu212/events{/privacy}","received_events_url":"https://api.github.com/users/yqu212/received_events","type":"User","site_admin":false},"body":"ipython hangs when called on windows. I reconfigure the python-shell-interpreter and python-shell-interpreter-args to run ipython on windows properly according to the suggestion from http://emacswiki.org/emacs/PythonProgrammingInEmacs, i.e.,\r\n\r\n    (setq python-shell-interpreter \"python\")\r\n    (setq python-shell-interpreter-args \"-i c:\\\\python27\\\\scripts\\\\ipython-script.py\")","created_at":"2015-06-22T13:12:10Z","updated_at":"2015-06-23T11:03:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5f36bdbe1655ca2c68c01358b34e9afbd973edbb","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/2075/commits","review_comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/2075/comments","review_comment_url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/2075/comments","statuses_url":"https://api.github.com/repos/syl20bnr/spacemacs/statuses/96d7126f3367aff0a600e9efa9de835be907eb94","head":{"label":"yqu212:develop","ref":"develop","sha":"96d7126f3367aff0a600e9efa9de835be907eb94","user":{"login":"yqu212","id":5894444,"avatar_url":"https://avatars.githubusercontent.com/u/5894444?v=3","gravatar_id":"","url":"https://api.github.com/users/yqu212","html_url":"https://github.com/yqu212","followers_url":"https://api.github.com/users/yqu212/followers","following_url":"https://api.github.com/users/yqu212/following{/other_user}","gists_url":"https://api.github.com/users/yqu212/gists{/gist_id}","starred_url":"https://api.github.com/users/yqu212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yqu212/subscriptions","organizations_url":"https://api.github.com/users/yqu212/orgs","repos_url":"https://api.github.com/users/yqu212/repos","events_url":"https://api.github.com/users/yqu212/events{/privacy}","received_events_url":"https://api.github.com/users/yqu212/received_events","type":"User","site_admin":false},"repo":{"id":37833573,"name":"spacemacs","full_name":"yqu212/spacemacs","owner":{"login":"yqu212","id":5894444,"avatar_url":"https://avatars.githubusercontent.com/u/5894444?v=3","gravatar_id":"","url":"https://api.github.com/users/yqu212","html_url":"https://github.com/yqu212","followers_url":"https://api.github.com/users/yqu212/followers","following_url":"https://api.github.com/users/yqu212/following{/other_user}","gists_url":"https://api.github.com/users/yqu212/gists{/gist_id}","starred_url":"https://api.github.com/users/yqu212/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yqu212/subscriptions","organizations_url":"https://api.github.com/users/yqu212/orgs","repos_url":"https://api.github.com/users/yqu212/repos","events_url":"https://api.github.com/users/yqu212/events{/privacy}","received_events_url":"https://api.github.com/users/yqu212/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yqu212/spacemacs","description":"Emacs advanced Kit focused on Evil: The best editor is neither Emacs nor Vim,  it's Emacs *and* Vim!","fork":true,"url":"https://api.github.com/repos/yqu212/spacemacs","forks_url":"https://api.github.com/repos/yqu212/spacemacs/forks","keys_url":"https://api.github.com/repos/yqu212/spacemacs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yqu212/spacemacs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yqu212/spacemacs/teams","hooks_url":"https://api.github.com/repos/yqu212/spacemacs/hooks","issue_events_url":"https://api.github.com/repos/yqu212/spacemacs/issues/events{/number}","events_url":"https://api.github.com/repos/yqu212/spacemacs/events","assignees_url":"https://api.github.com/repos/yqu212/spacemacs/assignees{/user}","branches_url":"https://api.github.com/repos/yqu212/spacemacs/branches{/branch}","tags_url":"https://api.github.com/repos/yqu212/spacemacs/tags","blobs_url":"https://api.github.com/repos/yqu212/spacemacs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yqu212/spacemacs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yqu212/spacemacs/git/refs{/sha}","trees_url":"https://api.github.com/repos/yqu212/spacemacs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yqu212/spacemacs/statuses/{sha}","languages_url":"https://api.github.com/repos/yqu212/spacemacs/languages","stargazers_url":"https://api.github.com/repos/yqu212/spacemacs/stargazers","contributors_url":"https://api.github.com/repos/yqu212/spacemacs/contributors","subscribers_url":"https://api.github.com/repos/yqu212/spacemacs/subscribers","subscription_url":"https://api.github.com/repos/yqu212/spacemacs/subscription","commits_url":"https://api.github.com/repos/yqu212/spacemacs/commits{/sha}","git_commits_url":"https://api.github.com/repos/yqu212/spacemacs/git/commits{/sha}","comments_url":"https://api.github.com/repos/yqu212/spacemacs/comments{/number}","issue_comment_url":"https://api.github.com/repos/yqu212/spacemacs/issues/comments{/number}","contents_url":"https://api.github.com/repos/yqu212/spacemacs/contents/{+path}","compare_url":"https://api.github.com/repos/yqu212/spacemacs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yqu212/spacemacs/merges","archive_url":"https://api.github.com/repos/yqu212/spacemacs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yqu212/spacemacs/downloads","issues_url":"https://api.github.com/repos/yqu212/spacemacs/issues{/number}","pulls_url":"https://api.github.com/repos/yqu212/spacemacs/pulls{/number}","milestones_url":"https://api.github.com/repos/yqu212/spacemacs/milestones{/number}","notifications_url":"https://api.github.com/repos/yqu212/spacemacs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yqu212/spacemacs/labels{/name}","releases_url":"https://api.github.com/repos/yqu212/spacemacs/releases{/id}","created_at":"2015-06-22T01:56:04Z","updated_at":"2015-06-22T01:56:06Z","pushed_at":"2015-06-23T11:00:27Z","git_url":"git://github.com/yqu212/spacemacs.git","ssh_url":"git@github.com:yqu212/spacemacs.git","clone_url":"https://github.com/yqu212/spacemacs.git","svn_url":"https://github.com/yqu212/spacemacs","homepage":"https://twitter.com/spacemacs","size":15800,"stargazers_count":0,"watchers_count":0,"language":"Emacs Lisp","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"syl20bnr:develop","ref":"develop","sha":"363808abf46c1eedfe8437198b189eb2a5daf60e","user":{"login":"syl20bnr","id":1243537,"avatar_url":"https://avatars.githubusercontent.com/u/1243537?v=3","gravatar_id":"","url":"https://api.github.com/users/syl20bnr","html_url":"https://github.com/syl20bnr","followers_url":"https://api.github.com/users/syl20bnr/followers","following_url":"https://api.github.com/users/syl20bnr/following{/other_user}","gists_url":"https://api.github.com/users/syl20bnr/gists{/gist_id}","starred_url":"https://api.github.com/users/syl20bnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syl20bnr/subscriptions","organizations_url":"https://api.github.com/users/syl20bnr/orgs","repos_url":"https://api.github.com/users/syl20bnr/repos","events_url":"https://api.github.com/users/syl20bnr/events{/privacy}","received_events_url":"https://api.github.com/users/syl20bnr/received_events","type":"User","site_admin":false},"repo":{"id":7212645,"name":"spacemacs","full_name":"syl20bnr/spacemacs","owner":{"login":"syl20bnr","id":1243537,"avatar_url":"https://avatars.githubusercontent.com/u/1243537?v=3","gravatar_id":"","url":"https://api.github.com/users/syl20bnr","html_url":"https://github.com/syl20bnr","followers_url":"https://api.github.com/users/syl20bnr/followers","following_url":"https://api.github.com/users/syl20bnr/following{/other_user}","gists_url":"https://api.github.com/users/syl20bnr/gists{/gist_id}","starred_url":"https://api.github.com/users/syl20bnr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syl20bnr/subscriptions","organizations_url":"https://api.github.com/users/syl20bnr/orgs","repos_url":"https://api.github.com/users/syl20bnr/repos","events_url":"https://api.github.com/users/syl20bnr/events{/privacy}","received_events_url":"https://api.github.com/users/syl20bnr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/syl20bnr/spacemacs","description":"Emacs advanced Kit focused on Evil: The best editor is neither Emacs nor Vim,  it's Emacs *and* Vim!","fork":false,"url":"https://api.github.com/repos/syl20bnr/spacemacs","forks_url":"https://api.github.com/repos/syl20bnr/spacemacs/forks","keys_url":"https://api.github.com/repos/syl20bnr/spacemacs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/syl20bnr/spacemacs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/syl20bnr/spacemacs/teams","hooks_url":"https://api.github.com/repos/syl20bnr/spacemacs/hooks","issue_events_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/events{/number}","events_url":"https://api.github.com/repos/syl20bnr/spacemacs/events","assignees_url":"https://api.github.com/repos/syl20bnr/spacemacs/assignees{/user}","branches_url":"https://api.github.com/repos/syl20bnr/spacemacs/branches{/branch}","tags_url":"https://api.github.com/repos/syl20bnr/spacemacs/tags","blobs_url":"https://api.github.com/repos/syl20bnr/spacemacs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/syl20bnr/spacemacs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/syl20bnr/spacemacs/git/refs{/sha}","trees_url":"https://api.github.com/repos/syl20bnr/spacemacs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/syl20bnr/spacemacs/statuses/{sha}","languages_url":"https://api.github.com/repos/syl20bnr/spacemacs/languages","stargazers_url":"https://api.github.com/repos/syl20bnr/spacemacs/stargazers","contributors_url":"https://api.github.com/repos/syl20bnr/spacemacs/contributors","subscribers_url":"https://api.github.com/repos/syl20bnr/spacemacs/subscribers","subscription_url":"https://api.github.com/repos/syl20bnr/spacemacs/subscription","commits_url":"https://api.github.com/repos/syl20bnr/spacemacs/commits{/sha}","git_commits_url":"https://api.github.com/repos/syl20bnr/spacemacs/git/commits{/sha}","comments_url":"https://api.github.com/repos/syl20bnr/spacemacs/comments{/number}","issue_comment_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues/comments{/number}","contents_url":"https://api.github.com/repos/syl20bnr/spacemacs/contents/{+path}","compare_url":"https://api.github.com/repos/syl20bnr/spacemacs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/syl20bnr/spacemacs/merges","archive_url":"https://api.github.com/repos/syl20bnr/spacemacs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/syl20bnr/spacemacs/downloads","issues_url":"https://api.github.com/repos/syl20bnr/spacemacs/issues{/number}","pulls_url":"https://api.github.com/repos/syl20bnr/spacemacs/pulls{/number}","milestones_url":"https://api.github.com/repos/syl20bnr/spacemacs/milestones{/number}","notifications_url":"https://api.github.com/repos/syl20bnr/spacemacs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/syl20bnr/spacemacs/labels{/name}","releases_url":"https://api.github.com/repos/syl20bnr/spacemacs/releases{/id}","created_at":"2012-12-17T21:34:03Z","updated_at":"2015-06-23T09:12:57Z","pushed_at":"2015-06-23T11:00:29Z","git_url":"git://github.com/syl20bnr/spacemacs.git","ssh_url":"git@github.com:syl20bnr/spacemacs.git","clone_url":"https://github.com/syl20bnr/spacemacs.git","svn_url":"https://github.com/syl20bnr/spacemacs","homepage":"https://twitter.com/spacemacs","size":32886,"stargazers_count":2697,"watchers_count":2697,"language":"Emacs Lisp","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":566,"mirror_url":null,"open_issues_count":464,"forks":566,"open_issues":464,"watchers":2697,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/2075"},"html":{"href":"https://github.com/syl20bnr/spacemacs/pull/2075"},"issue":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/issues/2075"},"comments":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/issues/2075/comments"},"review_comments":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/2075/comments"},"review_comment":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/pulls/2075/commits"},"statuses":{"href":"https://api.github.com/repos/syl20bnr/spacemacs/statuses/96d7126f3367aff0a600e9efa9de835be907eb94"}}}}