{"action":"created","issue":{"url":"https://api.github.com/repos/davidhalter/jedi/issues/1146","repository_url":"https://api.github.com/repos/davidhalter/jedi","labels_url":"https://api.github.com/repos/davidhalter/jedi/issues/1146/labels{/name}","comments_url":"https://api.github.com/repos/davidhalter/jedi/issues/1146/comments","events_url":"https://api.github.com/repos/davidhalter/jedi/issues/1146/events","html_url":"https://github.com/davidhalter/jedi/issues/1146","id":333050368,"node_id":"MDU6SXNzdWUzMzMwNTAzNjg=","number":1146,"title":"AttributeError: 'PythonNode' object has no attribute 'value'","user":{"login":"TobiasRzepka","id":7453528,"node_id":"MDQ6VXNlcjc0NTM1Mjg=","avatar_url":"https://avatars3.githubusercontent.com/u/7453528?v=4","gravatar_id":"","url":"https://api.github.com/users/TobiasRzepka","html_url":"https://github.com/TobiasRzepka","followers_url":"https://api.github.com/users/TobiasRzepka/followers","following_url":"https://api.github.com/users/TobiasRzepka/following{/other_user}","gists_url":"https://api.github.com/users/TobiasRzepka/gists{/gist_id}","starred_url":"https://api.github.com/users/TobiasRzepka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TobiasRzepka/subscriptions","organizations_url":"https://api.github.com/users/TobiasRzepka/orgs","repos_url":"https://api.github.com/users/TobiasRzepka/repos","events_url":"https://api.github.com/users/TobiasRzepka/events{/privacy}","received_events_url":"https://api.github.com/users/TobiasRzepka/received_events","type":"User","site_admin":false},"labels":[{"id":17235917,"node_id":"MDU6TGFiZWwxNzIzNTkxNw==","url":"https://api.github.com/repos/davidhalter/jedi/labels/bug","name":"bug","color":"e10c02","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-17T09:52:30Z","updated_at":"2018-07-01T01:33:53Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi, here is another AttributeError when not editing top-down (chars isn't defined at completion call):\r\n`jedi.Script(\"[','.join(str(x.value) for x in chars]\", 1, 37).completions()`\r\n```\r\nTraceback (most recent call last):\r\n  File \"<stdin>\", line 1, in <module>\r\n  File \"jedi\\api\\__init__.py\", line 174, in completions\r\n    completions = completion.completions()\r\n  File \"jedi\\api\\completion.py\", line 98, in completions\r\n    completion_names = self._get_context_completions()\r\n  File \"jedi\\api\\completion.py\", line 203, in _get_context_completions\r\n    call_signatures = self._call_signatures_method()\r\n  File \"jedi\\api\\__init__.py\", line 279, in call_signatures\r\n    helpers.get_call_signature_details(self._module_node, self._pos)\r\n  File \"jedi\\api\\helpers.py\", line 270, in get_call_signature_details\r\n    result = _get_call_signature_details_from_error_node(n, position)\r\n  File \"jedi\\api\\helpers.py\", line 243, in _get_call_signature_details_from_error_node\r\n    *_get_index_and_key(children, position)\r\n  File \"jedi\\api\\helpers.py\", line 223, in _get_index_and_key\r\n    key_str = last.children[0].value\r\nAttributeError: 'PythonNode' object has no attribute 'value'\r\n```\r\njedi / parso are the latest snapshots.\r\nTobias"},"comment":{"url":"https://api.github.com/repos/davidhalter/jedi/issues/comments/401577084","html_url":"https://github.com/davidhalter/jedi/issues/1146#issuecomment-401577084","issue_url":"https://api.github.com/repos/davidhalter/jedi/issues/1146","id":401577084,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMTU3NzA4NA==","user":{"login":"davidhalter","id":748594,"node_id":"MDQ6VXNlcjc0ODU5NA==","avatar_url":"https://avatars0.githubusercontent.com/u/748594?v=4","gravatar_id":"","url":"https://api.github.com/users/davidhalter","html_url":"https://github.com/davidhalter","followers_url":"https://api.github.com/users/davidhalter/followers","following_url":"https://api.github.com/users/davidhalter/following{/other_user}","gists_url":"https://api.github.com/users/davidhalter/gists{/gist_id}","starred_url":"https://api.github.com/users/davidhalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidhalter/subscriptions","organizations_url":"https://api.github.com/users/davidhalter/orgs","repos_url":"https://api.github.com/users/davidhalter/repos","events_url":"https://api.github.com/users/davidhalter/events{/privacy}","received_events_url":"https://api.github.com/users/davidhalter/received_events","type":"User","site_admin":false},"created_at":"2018-07-01T01:33:53Z","updated_at":"2018-07-01T01:33:53Z","author_association":"OWNER","body":"Fixed in 8ffdf67"}}
{"actor":{"display_login":"davidhalter"}}