{"action":"opened","issue":{"url":"https://api.github.com/repos/spyder-ide/spyder/issues/3118","repository_url":"https://api.github.com/repos/spyder-ide/spyder","labels_url":"https://api.github.com/repos/spyder-ide/spyder/issues/3118/labels{/name}","comments_url":"https://api.github.com/repos/spyder-ide/spyder/issues/3118/comments","events_url":"https://api.github.com/repos/spyder-ide/spyder/issues/3118/events","html_url":"https://github.com/spyder-ide/spyder/issues/3118","id":149124956,"number":3118,"title":"Incorrect colon placement after semicolon","user":{"login":"H0R5E","id":5088535,"avatar_url":"https://avatars.githubusercontent.com/u/5088535?v=3","gravatar_id":"","url":"https://api.github.com/users/H0R5E","html_url":"https://github.com/H0R5E","followers_url":"https://api.github.com/users/H0R5E/followers","following_url":"https://api.github.com/users/H0R5E/following{/other_user}","gists_url":"https://api.github.com/users/H0R5E/gists{/gist_id}","starred_url":"https://api.github.com/users/H0R5E/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/H0R5E/subscriptions","organizations_url":"https://api.github.com/users/H0R5E/orgs","repos_url":"https://api.github.com/users/H0R5E/repos","events_url":"https://api.github.com/users/H0R5E/events{/privacy}","received_events_url":"https://api.github.com/users/H0R5E/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-04-18T11:33:13Z","updated_at":"2016-04-18T11:33:13Z","closed_at":null,"body":"## Description of your problem\r\n\r\n**What steps will reproduce the problem?**\r\n\r\n1. Open Spyder\r\n2. Open a python file\r\n3. Write a one line if statement such as `if True: print \"Yes!\";`\r\n4. Press  enter\r\n\r\n**What is the expected output? What do you see instead?**\r\n\r\nThe semicolon should indicate that the if statement is finished and no colon in required.\r\n\r\nInstead, Spyder places a colon after the semicolon giving something like this:\r\n\r\n`if True: print \"Yes!;:`\r\n\r\nThis will cause an invalid syntax error\r\n\r\n**Please provide any additional information below**\r\n\r\n## Versions and main components\r\n\r\n* Spyder Version: 2.3.8\r\n* Python Version: 2.7.11\r\n* Operating system: Win64\r\n\r\n## Dependencies\r\n\r\nPlease go to the menu entry `Help > Optional Dependencies` (or\r\n`Help > Dependencies`), press the button `Copy to clipboard`\r\nand paste the contents below:\r\n\r\nIPython >=1.0      :  4.1.2 (OK)\r\njedi >=0.8.1;<0.9.0:  0.9.0 (NOK)\r\nmatplotlib >=1.0   :  1.5.1 (OK)\r\npandas >=0.13.1    :  0.18.0 (OK)\r\npep8 >=0.6         :  1.7.0 (OK)\r\npyflakes >=0.5.0   :  1.1.0 (OK)\r\npygments >=1.6     :  2.1.1 (OK)\r\npylint >=0.25      :  None (NOK)\r\nqtconsole >=4.0    :  4.2.0 (OK)\r\nrope >=0.9.2       :  0.9.4 (OK)\r\nsphinx >=0.6.6     :  1.3.5 (OK)\r\nsympy >=0.7.3      :  1.0 (OK)\r\nzmq >=2.1.11       :  15.2.0 (OK)\r\n"}}