{"action":"closed","issue":{"url":"https://api.github.com/repos/davidhalter/jedi/issues/492","labels_url":"https://api.github.com/repos/davidhalter/jedi/issues/492/labels{/name}","comments_url":"https://api.github.com/repos/davidhalter/jedi/issues/492/comments","events_url":"https://api.github.com/repos/davidhalter/jedi/issues/492/events","html_url":"https://github.com/davidhalter/jedi/issues/492","id":44844948,"number":492,"title":"__import__() argument 1 must be string, not None","user":{"login":"jonathanslenders","id":216638,"avatar_url":"https://avatars.githubusercontent.com/u/216638?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanslenders","html_url":"https://github.com/jonathanslenders","followers_url":"https://api.github.com/users/jonathanslenders/followers","following_url":"https://api.github.com/users/jonathanslenders/following{/other_user}","gists_url":"https://api.github.com/users/jonathanslenders/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanslenders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanslenders/subscriptions","organizations_url":"https://api.github.com/users/jonathanslenders/orgs","repos_url":"https://api.github.com/users/jonathanslenders/repos","events_url":"https://api.github.com/users/jonathanslenders/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanslenders/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/davidhalter/jedi/labels/bug","name":"bug","color":"e10c02"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-10-03T20:17:43Z","updated_at":"2015-03-25T10:30:46Z","closed_at":"2015-03-25T10:30:46Z","body":"```python\r\njedi.Interpreter('a(', column=2, line=1, path='', namespaces=[{'a': lambda:None}]).call_signatures()\r\n```\r\n\r\n\r\nThis raises:\r\n```python\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/api/__init__.py\", line 574, in call_signatures\r\n    self._pos, user_stmt)\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/cache.py\", line 90, in wrapper\r\n    value = optional_callable()\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/api/__init__.py\", line 572, in <lambda>\r\n    _callable = lambda: self._evaluator.eval_call(stmt_el)\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py\", line 226, in eval_call\r\n    return self.eval_call_path(path, par, s.start_pos)\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py\", line 240, in eval_call_path\r\n    search_global=True)\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/evaluate/__init__.py\", line 113, in find_types\r\n    return f.find(scopes, resolve_decorator, search_global)\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/debug.py\", line 51, in wrapper\r\n    result = func(*args, **kwargs)\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/evaluate/finder.py\", line 46, in find\r\n    names = self.filter_name(scopes)\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/evaluate/finder.py\", line 89, in filter_name\r\n    scope = name.parent.parent\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/cache.py\", line 139, in wrapper\r\n    result = func(self)\r\n  File \"/home/jonathan/env/mobilevikings/local/lib/python2.7/site-packages/jedi/api/interpreter.py\", line 69, in parent\r\n    module = __import__(module_name)\r\nTypeError: __import__() argument 1 must be string, not None\r\n```"}}