{"action":"created","issue":{"url":"https://api.github.com/repos/davidhalter/jedi/issues/526","labels_url":"https://api.github.com/repos/davidhalter/jedi/issues/526/labels{/name}","comments_url":"https://api.github.com/repos/davidhalter/jedi/issues/526/comments","events_url":"https://api.github.com/repos/davidhalter/jedi/issues/526/events","html_url":"https://github.com/davidhalter/jedi/issues/526","id":54445547,"number":526,"title":"Issue when filtering completion candidates with East-Asian characters","user":{"login":"KenetJervet","id":1560189,"avatar_url":"https://avatars.githubusercontent.com/u/1560189?v=3","gravatar_id":"","url":"https://api.github.com/users/KenetJervet","html_url":"https://github.com/KenetJervet","followers_url":"https://api.github.com/users/KenetJervet/followers","following_url":"https://api.github.com/users/KenetJervet/following{/other_user}","gists_url":"https://api.github.com/users/KenetJervet/gists{/gist_id}","starred_url":"https://api.github.com/users/KenetJervet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenetJervet/subscriptions","organizations_url":"https://api.github.com/users/KenetJervet/orgs","repos_url":"https://api.github.com/users/KenetJervet/repos","events_url":"https://api.github.com/users/KenetJervet/events{/privacy}","received_events_url":"https://api.github.com/users/KenetJervet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-15T12:48:38Z","updated_at":"2015-01-16T01:19:02Z","closed_at":null,"body":"I thought it was a company-mode bug so I created the issue there:\r\ncompany-mode/company-mode#277\r\n\r\nI played a bit with Jedi API, and got the following result:\r\n\r\nThis is correct:\r\n![image](https://cloud.githubusercontent.com/assets/1560189/5757560/853449e6-9cf7-11e4-804f-a5c084ce7731.png)\r\n\r\nThis is wrong:\r\n![image](https://cloud.githubusercontent.com/assets/1560189/5757573/a5463190-9cf7-11e4-88db-7b36f9a1315d.png)\r\n\r\nThe issue reference to company-mode has more detailed description.\r\n\r\nThanks!"},"comment":{"url":"https://api.github.com/repos/davidhalter/jedi/issues/comments/70193908","html_url":"https://github.com/davidhalter/jedi/issues/526#issuecomment-70193908","issue_url":"https://api.github.com/repos/davidhalter/jedi/issues/526","id":70193908,"user":{"login":"KenetJervet","id":1560189,"avatar_url":"https://avatars.githubusercontent.com/u/1560189?v=3","gravatar_id":"","url":"https://api.github.com/users/KenetJervet","html_url":"https://github.com/KenetJervet","followers_url":"https://api.github.com/users/KenetJervet/followers","following_url":"https://api.github.com/users/KenetJervet/following{/other_user}","gists_url":"https://api.github.com/users/KenetJervet/gists{/gist_id}","starred_url":"https://api.github.com/users/KenetJervet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KenetJervet/subscriptions","organizations_url":"https://api.github.com/users/KenetJervet/orgs","repos_url":"https://api.github.com/users/KenetJervet/repos","events_url":"https://api.github.com/users/KenetJervet/events{/privacy}","received_events_url":"https://api.github.com/users/KenetJervet/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T01:19:02Z","updated_at":"2015-01-16T01:19:02Z","body":"hi. Unicode chars are only considered valid in Python 3. I briefly compared two versions of tokenize.py from stdlib, and I suppose you forked the one in Python 2.\r\nPython 3 has changed the implementation a bit. So instead of\r\nchecking `initial in namechars`, it checks `initial.isidentifier()`.\r\n\r\nI'd love to make a pull request but since I've never written any code that's 2/3 compatible I hesitate to do so."}}