{"action":"created","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/1957","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1957/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1957/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1957/events","html_url":"https://github.com/spyder-ide/spyder/issues/1957","id":57983403,"number":1957,"title":"Tab completion fails in Console with Python 3.4","user":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/1%20star","name":"1 star","color":"fef2c0"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/spyder-ide/spyder/labels/Python-Console","name":"Python-Console","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/spyder-ide/spyder/milestones/16","html_url":"https://github.com/spyder-ide/spyder/milestones/v2.3.4","labels_url":"https://api.github.com/repos/spyder-ide/spyder/milestones/16/labels","id":983235,"number":16,"title":"v2.3.4","description":null,"creator":{"login":"spyder-issues-migrator","id":11021581,"avatar_url":"https://avatars.githubusercontent.com/u/11021581?v=3","gravatar_id":"","url":"https://api.github.com/users/spyder-issues-migrator","html_url":"https://github.com/spyder-issues-migrator","followers_url":"https://api.github.com/users/spyder-issues-migrator/followers","following_url":"https://api.github.com/users/spyder-issues-migrator/following{/other_user}","gists_url":"https://api.github.com/users/spyder-issues-migrator/gists{/gist_id}","starred_url":"https://api.github.com/users/spyder-issues-migrator/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spyder-issues-migrator/subscriptions","organizations_url":"https://api.github.com/users/spyder-issues-migrator/orgs","repos_url":"https://api.github.com/users/spyder-issues-migrator/repos","events_url":"https://api.github.com/users/spyder-issues-migrator/events{/privacy}","received_events_url":"https://api.github.com/users/spyder-issues-migrator/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":10,"state":"open","created_at":"2015-02-17T17:19:03Z","updated_at":"2015-03-09T20:23:34Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-02-17T21:16:53Z","updated_at":"2015-03-09T20:46:38Z","closed_at":null,"body":"_From [statmob...@gmail.com](https://code.google.com/u/109542535940268105260/) on 2014-09-03T15:12:41Z_\n\nSpyder Version:  2.3.0\r\nPython Version:  2.7.7\r\nQt Version    :  4.8.6, PyQt4 (API v2) 4.10.4 on Darwin\r\npyflakes >=0.5.0:  0.8.1 (OK)\r\npep8 >=0.6      :  1.5.7 (OK)\r\nIPython >=0.13  :  2.1.0 (OK)\r\npygments >=1.6  :  1.6 (OK)\r\nsphinx >=0.6.6  :  1.2.2 (OK)\r\npsutil >=0.3    :  2.1.1 (OK)\r\nrope >=0.9.2    :  0.10.2 (OK)\r\nmatplotlib >=1.0:  1.4.0 (OK)\r\nsympy >=0.7.0   :  0.7.5 (OK)\r\npylint >=0.25   :  1.2.1 (OK)\r\n\r\nI have set the Python interpreter executable binary to my MacPorts install of Python 3.4.1 (/opt/local/bin/python).  Now when I'm interacting in the console in Spider I get:\r\n\r\n\\>>> abc = 2\r\n\\>>> print(ab<Tab for completion>...)\r\n\r\nI get the following Traceback in the Internal console:\r\n\r\nDON'T USE THIS CONSOLE TO RUN CODE!\r\n\r\nIt's used to report application errors\r\nand to inspect Spyder internals with\r\nthe following commands:\r\n  spy.app, spy.window, dir(spy)\r\n\\>>> Traceback (most recent call last):\r\n  File \"/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/shell.py\", line 298, in keyPressEvent\r\n    self.postprocess_keyevent(event)\r\n  File \"/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/shell.py\", line 727, in postprocess_keyevent\r\n    ShellBaseWidget.postprocess_keyevent(self, event)\r\n  File \"/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/shell.py\", line 358, in postprocess_keyevent\r\n    self._key_tab()\r\n  File \"/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/shell.py\", line 759, in _key_tab\r\n    self.show_code_completion(automatic=False)\r\n  File \"/Applications/Spyder.app/Contents/Resources/lib/python2.7/spyderlib/widgets/shell.py\", line 900, in show_code_completion\r\n    b_k_g = dir(builtins)+self.get_globals_keys()+keyword.kwlist\r\nTypeError: can only concatenate list (not \"NoneType\") to list \n\nWhat steps will reproduce the problem?\n\n 1. 2. 3. \n\nWhat is the expected output? What do you see instead?\n\n \n\nPlease provide any additional information below\n\n.\n\n_Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1957_"},"comment":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/comments/77938630","html_url":"https://github.com/spyder-ide/spyder/issues/1957#issuecomment-77938630","issue_url":"https://api.github.com/repos/spyder-ide/spyder/issues/1957","id":77938630,"user":{"login":"statmobile","id":2645019,"avatar_url":"https://avatars.githubusercontent.com/u/2645019?v=3","gravatar_id":"","url":"https://api.github.com/users/statmobile","html_url":"https://github.com/statmobile","followers_url":"https://api.github.com/users/statmobile/followers","following_url":"https://api.github.com/users/statmobile/following{/other_user}","gists_url":"https://api.github.com/users/statmobile/gists{/gist_id}","starred_url":"https://api.github.com/users/statmobile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/statmobile/subscriptions","organizations_url":"https://api.github.com/users/statmobile/orgs","repos_url":"https://api.github.com/users/statmobile/repos","events_url":"https://api.github.com/users/statmobile/events{/privacy}","received_events_url":"https://api.github.com/users/statmobile/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T20:46:38Z","updated_at":"2015-03-09T20:46:38Z","body":"No need to apologize, I'm more than happy to help you now.  I'll start working on building it tonight and keep you updated on this issue report unless you prefer to move to the discussion to the other one."}}