{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/9678","repository_url":"https://api.github.com/repos/ipython/ipython","labels_url":"https://api.github.com/repos/ipython/ipython/issues/9678/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/9678/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/9678/events","html_url":"https://github.com/ipython/ipython/issues/9678","id":163027902,"number":9678,"title":"Completion crash (IPython 5.0b4, ptk 1.0.3)","user":{"login":"anntzer","id":1322974,"avatar_url":"https://avatars.githubusercontent.com/u/1322974?v=3","gravatar_id":"","url":"https://api.github.com/users/anntzer","html_url":"https://github.com/anntzer","followers_url":"https://api.github.com/users/anntzer/followers","following_url":"https://api.github.com/users/anntzer/following{/other_user}","gists_url":"https://api.github.com/users/anntzer/gists{/gist_id}","starred_url":"https://api.github.com/users/anntzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anntzer/subscriptions","organizations_url":"https://api.github.com/users/anntzer/orgs","repos_url":"https://api.github.com/users/anntzer/repos","events_url":"https://api.github.com/users/anntzer/events{/privacy}","received_events_url":"https://api.github.com/users/anntzer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/ipython/ipython/milestones/25","html_url":"https://github.com/ipython/ipython/milestones/5.0","labels_url":"https://api.github.com/repos/ipython/ipython/milestones/25/labels","id":1020999,"number":25,"title":"5.0","description":"","creator":{"login":"Carreau","id":335567,"avatar_url":"https://avatars.githubusercontent.com/u/335567?v=3","gravatar_id":"","url":"https://api.github.com/users/Carreau","html_url":"https://github.com/Carreau","followers_url":"https://api.github.com/users/Carreau/followers","following_url":"https://api.github.com/users/Carreau/following{/other_user}","gists_url":"https://api.github.com/users/Carreau/gists{/gist_id}","starred_url":"https://api.github.com/users/Carreau/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carreau/subscriptions","organizations_url":"https://api.github.com/users/Carreau/orgs","repos_url":"https://api.github.com/users/Carreau/repos","events_url":"https://api.github.com/users/Carreau/events{/privacy}","received_events_url":"https://api.github.com/users/Carreau/received_events","type":"User","site_admin":false},"open_issues":13,"closed_issues":257,"state":"open","created_at":"2015-03-13T21:27:20Z","updated_at":"2016-06-30T07:54:32Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-06-29T21:13:04Z","updated_at":"2016-06-30T09:58:09Z","closed_at":null,"body":"After installing `asteval` (https://pypi.python.org/pypi/asteval) (which I know is really not up to its claims of being a safe evaluator, but that's not the issue here)\r\n```\r\nIn [1]: from asteval import <TAB>Exception in thread Thread-43:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python3.5/threading.py\", line 914, in _bootstrap_inner\r\n    self.run()                   \r\n  File \"/usr/lib/python3.5/threading.py\", line 862, in run\r\n    self._target(*self._args, **self._kwargs)\r\n  File \"/usr/lib/python3.5/site-packages/prompt_toolkit/interface.py\", line 835, in run\r\n    completions = list(buffer.completer.get_completions(document, complete_event))\r\n  File \"/home/antony/.local/lib/python3.5/site-packages/IPython/terminal/ptutils.py\", line 24, in\r\n    cursor_pos=document.cursor_position_col\r\n  File \"/home/antony/.local/lib/python3.5/site-packages/IPython/core/completer.py\", line 1185, in\r\n    custom_res = self.dispatch_custom_completer(text)\r\n  File \"/home/antony/.local/lib/python3.5/site-packages/IPython/core/completer.py\", line 1113, in\r\n    withcase = [cast_unicode_py2(r) for r in res if r.startswith(text)]\r\n  File \"/home/antony/.local/lib/python3.5/site-packages/IPython/core/completer.py\", line 1113, in\r\n    withcase = [cast_unicode_py2(r) for r in res if r.startswith(text)]\r\nAttributeError: type object 'NameFinder' has no attribute 'startswith'\r\n```"},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/229615460","html_url":"https://github.com/ipython/ipython/issues/9678#issuecomment-229615460","issue_url":"https://api.github.com/repos/ipython/ipython/issues/9678","id":229615460,"user":{"login":"takluyver","id":327925,"avatar_url":"https://avatars.githubusercontent.com/u/327925?v=3","gravatar_id":"","url":"https://api.github.com/users/takluyver","html_url":"https://github.com/takluyver","followers_url":"https://api.github.com/users/takluyver/followers","following_url":"https://api.github.com/users/takluyver/following{/other_user}","gists_url":"https://api.github.com/users/takluyver/gists{/gist_id}","starred_url":"https://api.github.com/users/takluyver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/takluyver/subscriptions","organizations_url":"https://api.github.com/users/takluyver/orgs","repos_url":"https://api.github.com/users/takluyver/repos","events_url":"https://api.github.com/users/takluyver/events{/privacy}","received_events_url":"https://api.github.com/users/takluyver/received_events","type":"User","site_admin":false},"created_at":"2016-06-30T09:58:09Z","updated_at":"2016-06-30T09:58:09Z","body":"#9679 filters out non-string completions from importing a module."}}
{"actor":{"display_login":"takluyver"}}