{"action":"created","issue":{"url":"https://api.github.com/repos/MagicStack/MagicPython/issues/70","repository_url":"https://api.github.com/repos/MagicStack/MagicPython","labels_url":"https://api.github.com/repos/MagicStack/MagicPython/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/MagicStack/MagicPython/issues/70/comments","events_url":"https://api.github.com/repos/MagicStack/MagicPython/issues/70/events","html_url":"https://github.com/MagicStack/MagicPython/issues/70","id":194711212,"number":70,"title":"Detection of colons in with statements and dict literals.","user":{"login":"p0lm","id":12779601,"avatar_url":"https://avatars.githubusercontent.com/u/12779601?v=3","gravatar_id":"","url":"https://api.github.com/users/p0lm","html_url":"https://github.com/p0lm","followers_url":"https://api.github.com/users/p0lm/followers","following_url":"https://api.github.com/users/p0lm/following{/other_user}","gists_url":"https://api.github.com/users/p0lm/gists{/gist_id}","starred_url":"https://api.github.com/users/p0lm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/p0lm/subscriptions","organizations_url":"https://api.github.com/users/p0lm/orgs","repos_url":"https://api.github.com/users/p0lm/repos","events_url":"https://api.github.com/users/p0lm/events{/privacy}","received_events_url":"https://api.github.com/users/p0lm/received_events","type":"User","site_admin":false},"labels":[{"id":502192941,"url":"https://api.github.com/repos/MagicStack/MagicPython/labels/resolved","name":"resolved","color":"0e8a16","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-12-09T22:20:40Z","updated_at":"2016-12-17T18:24:10Z","closed_at":"2016-12-17T18:24:10Z","body":"Colons do not get detected as special characters when used inside a dict literal or at the block start of a `with` statement:\r\n\r\n```python\r\n\r\nd = { 'a': 'b' }\r\n\r\nwith open(__file__) as f:\r\n  pass\r\n\r\n```\r\n\r\nIn both cases I'd argue it needs to be detected as `punctuation`. For the `with` statement, I suggest also applying a `begin` label to the colon."},"comment":{"url":"https://api.github.com/repos/MagicStack/MagicPython/issues/comments/267778448","html_url":"https://github.com/MagicStack/MagicPython/issues/70#issuecomment-267778448","issue_url":"https://api.github.com/repos/MagicStack/MagicPython/issues/70","id":267778448,"user":{"login":"1st1","id":239003,"avatar_url":"https://avatars.githubusercontent.com/u/239003?v=3","gravatar_id":"","url":"https://api.github.com/users/1st1","html_url":"https://github.com/1st1","followers_url":"https://api.github.com/users/1st1/followers","following_url":"https://api.github.com/users/1st1/following{/other_user}","gists_url":"https://api.github.com/users/1st1/gists{/gist_id}","starred_url":"https://api.github.com/users/1st1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1st1/subscriptions","organizations_url":"https://api.github.com/users/1st1/orgs","repos_url":"https://api.github.com/users/1st1/repos","events_url":"https://api.github.com/users/1st1/events{/privacy}","received_events_url":"https://api.github.com/users/1st1/received_events","type":"User","site_admin":false},"created_at":"2016-12-17T18:24:10Z","updated_at":"2016-12-17T18:24:10Z","body":"Closing the issue."}}
{"actor":{"display_login":"1st1"}}