{"action":"created","issue":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/642","repository_url":"https://api.github.com/repos/davidhalter/jedi-vim","labels_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/642/labels{/name}","comments_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/642/comments","events_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/642/events","html_url":"https://github.com/davidhalter/jedi-vim/issues/642","id":194277226,"number":642,"title":"Call signature tooltip not dismissed","user":{"login":"raptium","id":51584,"avatar_url":"https://avatars.githubusercontent.com/u/51584?v=3","gravatar_id":"","url":"https://api.github.com/users/raptium","html_url":"https://github.com/raptium","followers_url":"https://api.github.com/users/raptium/followers","following_url":"https://api.github.com/users/raptium/following{/other_user}","gists_url":"https://api.github.com/users/raptium/gists{/gist_id}","starred_url":"https://api.github.com/users/raptium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raptium/subscriptions","organizations_url":"https://api.github.com/users/raptium/orgs","repos_url":"https://api.github.com/users/raptium/repos","events_url":"https://api.github.com/users/raptium/events{/privacy}","received_events_url":"https://api.github.com/users/raptium/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-08T08:43:50Z","updated_at":"2016-12-08T09:33:05Z","closed_at":null,"body":"### Issue\r\nCall signature tooltip is not dismissed when exit insert mode.\r\nMagic strings are left in the file.\r\n\r\n### Steps to reproduce\r\nType the following snippet into vim, wait until the signature tooltip `(a)` to appear, then press `ESC` and `:wq` to save and quit vim\r\n```\r\ndef foo(a):\r\n    pass\r\n\r\ndef bar(b):\r\n    foo(\r\n```\r\n\r\nThe tooltip is never dismissed and I get a corrupt py file with jedi magics `?!?jedi?!?`\r\n```\r\ndef foo(a):\r\n    pass\r\n\r\ndef ba?!?jedi=0, r(b):?!? (*_*a*_*) ?!?jedi?!?\r\n    foo(\r\n```\r\n\r\n### Versions\r\n\r\n - jedi-vim: 671f9f57804e9d47b50db3487fcb128eefc0db5d  I think it's current master\r\n - Vim: 8.0.51 (Mac)\r\n - Python: 2.7.12\r\n\r\n#561 was closed today, so I am creating a new issue here."},"comment":{"url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/comments/265694999","html_url":"https://github.com/davidhalter/jedi-vim/issues/642#issuecomment-265694999","issue_url":"https://api.github.com/repos/davidhalter/jedi-vim/issues/642","id":265694999,"user":{"login":"raptium","id":51584,"avatar_url":"https://avatars.githubusercontent.com/u/51584?v=3","gravatar_id":"","url":"https://api.github.com/users/raptium","html_url":"https://github.com/raptium","followers_url":"https://api.github.com/users/raptium/followers","following_url":"https://api.github.com/users/raptium/following{/other_user}","gists_url":"https://api.github.com/users/raptium/gists{/gist_id}","starred_url":"https://api.github.com/users/raptium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/raptium/subscriptions","organizations_url":"https://api.github.com/users/raptium/orgs","repos_url":"https://api.github.com/users/raptium/repos","events_url":"https://api.github.com/users/raptium/events{/privacy}","received_events_url":"https://api.github.com/users/raptium/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T09:33:05Z","updated_at":"2016-12-08T09:33:05Z","body":"The issue is gone after adding this to my vimrc\r\n```\r\nlet g:jedi#call_signature_escape=\"'=`='\"\r\n```\r\nThis is equivalent to revert the last commit (671f9f5) in master."}}
{"actor":{"display_login":"raptium"}}