{"action":"created","issue":{"url":"https://api.github.com/repos/ipython/ipython/issues/9897","repository_url":"https://api.github.com/repos/ipython/ipython","labels_url":"https://api.github.com/repos/ipython/ipython/issues/9897/labels{/name}","comments_url":"https://api.github.com/repos/ipython/ipython/issues/9897/comments","events_url":"https://api.github.com/repos/ipython/ipython/issues/9897/events","html_url":"https://github.com/ipython/ipython/pull/9897","id":172634995,"number":9897,"title":"commented self.custom_completers = None","user":{"login":"thesageinpilani","id":19842764,"avatar_url":"https://avatars.githubusercontent.com/u/19842764?v=3","gravatar_id":"","url":"https://api.github.com/users/thesageinpilani","html_url":"https://github.com/thesageinpilani","followers_url":"https://api.github.com/users/thesageinpilani/followers","following_url":"https://api.github.com/users/thesageinpilani/following{/other_user}","gists_url":"https://api.github.com/users/thesageinpilani/gists{/gist_id}","starred_url":"https://api.github.com/users/thesageinpilani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thesageinpilani/subscriptions","organizations_url":"https://api.github.com/users/thesageinpilani/orgs","repos_url":"https://api.github.com/users/thesageinpilani/repos","events_url":"https://api.github.com/users/thesageinpilani/events{/privacy}","received_events_url":"https://api.github.com/users/thesageinpilani/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-23T07:57:53Z","updated_at":"2016-08-23T23:58:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ipython/ipython/pulls/9897","html_url":"https://github.com/ipython/ipython/pull/9897","diff_url":"https://github.com/ipython/ipython/pull/9897.diff","patch_url":"https://github.com/ipython/ipython/pull/9897.patch"},"body":"regarding AttributeError: 'IPCompleter' object has no attribute 'custom_completers' #9395\r\n\r\nI have commented the intialization of null value in the `__init__` of IPCompleter object, since it is subclass of  Completer.py where custom_completers is being created."},"comment":{"url":"https://api.github.com/repos/ipython/ipython/issues/comments/241919086","html_url":"https://github.com/ipython/ipython/pull/9897#issuecomment-241919086","issue_url":"https://api.github.com/repos/ipython/ipython/issues/9897","id":241919086,"user":{"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},"created_at":"2016-08-23T23:58:39Z","updated_at":"2016-08-23T23:58:39Z","body":"Hi ! \r\n\r\nThanks a lot for that; that does not seem to do it for me I still get a different error; \r\n\r\n```\r\nIn [3]: from IPython.core.completer import IPCompleter\r\n\r\nIn [4]: c = IPCompleter(get_ipython())\r\n\r\nIn [5]: c.complete('foo')\r\n---------------------------------------------------------------------------\r\nAttributeError                            Traceback (most recent call last)\r\n<ipython-input-5-1faa54daaabd> in <module>()\r\n----> 1 c.complete('foo')\r\n\r\n/Users/bussonniermatthias/dev/ipython/IPython/core/completer.py in comp(*args, **kwargs)\r\n     82     @wraps(complete)\r\n     83     def comp(*args, **kwargs):\r\n---> 84         text, matches =  complete(*args, **kwargs)\r\n     85         if len(matches) == 1:\r\n     86             return text, [matches[0].rstrip()]\r\n\r\n/Users/bussonniermatthias/dev/ipython/IPython/core/completer.py in complete(self, text, line_buffer, cursor_pos)\r\n   1191         # Start with a clean slate of completions\r\n   1192         self.matches[:] = []\r\n-> 1193         custom_res = self.dispatch_custom_completer(text)\r\n   1194         if custom_res is not None:\r\n   1195             # did custom completers produce something?\r\n\r\n/Users/bussonniermatthias/dev/ipython/IPython/core/completer.py in dispatch_custom_completer(self, text)\r\n   1088\r\n   1089     def dispatch_custom_completer(self, text):\r\n-> 1090         if not self.custom_completers:\r\n   1091             return\r\n   1092\r\n\r\nAttributeError: 'IPCompleter' object has no attribute 'custom_completers'\r\n```\r\n\r\nDid you committed all your changes ? \r\n"}}
{"actor":{"display_login":"Carreau"}}