{"action":"created","issue":{"url":"https://api.github.com/repos/codemirror/CodeMirror/issues/4176","repository_url":"https://api.github.com/repos/codemirror/CodeMirror","labels_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/4176/labels{/name}","comments_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/4176/comments","events_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/4176/events","html_url":"https://github.com/codemirror/CodeMirror/issues/4176","id":171855048,"number":4176,"title":"python 3.6 string formatting","user":{"login":"myyc","id":5025392,"avatar_url":"https://avatars.githubusercontent.com/u/5025392?v=3","gravatar_id":"","url":"https://api.github.com/users/myyc","html_url":"https://github.com/myyc","followers_url":"https://api.github.com/users/myyc/followers","following_url":"https://api.github.com/users/myyc/following{/other_user}","gists_url":"https://api.github.com/users/myyc/gists{/gist_id}","starred_url":"https://api.github.com/users/myyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myyc/subscriptions","organizations_url":"https://api.github.com/users/myyc/orgs","repos_url":"https://api.github.com/users/myyc/repos","events_url":"https://api.github.com/users/myyc/events{/privacy}","received_events_url":"https://api.github.com/users/myyc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-18T09:18:24Z","updated_at":"2016-08-18T10:34:58Z","closed_at":null,"body":"Python 3.6 is introducing an extremely useful string formatting syntax: `f\"{a} {b}\"` instead of `\"{a} {b}\".format(a=a, b=b)`. It seems at least the `f` is parsed correctly [in the code](https://github.com/codemirror/CodeMirror/blob/master/mode/python/python.js#L65), but `f\"blah\" + foo + \"bar\"` looks differently from `b\"blah\" + foo + \"bar\"` in the website demo (and on Jupyter notebook, which is where I spotted it)."},"comment":{"url":"https://api.github.com/repos/codemirror/CodeMirror/issues/comments/240686486","html_url":"https://github.com/codemirror/CodeMirror/issues/4176#issuecomment-240686486","issue_url":"https://api.github.com/repos/codemirror/CodeMirror/issues/4176","id":240686486,"user":{"login":"myyc","id":5025392,"avatar_url":"https://avatars.githubusercontent.com/u/5025392?v=3","gravatar_id":"","url":"https://api.github.com/users/myyc","html_url":"https://github.com/myyc","followers_url":"https://api.github.com/users/myyc/followers","following_url":"https://api.github.com/users/myyc/following{/other_user}","gists_url":"https://api.github.com/users/myyc/gists{/gist_id}","starred_url":"https://api.github.com/users/myyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myyc/subscriptions","organizations_url":"https://api.github.com/users/myyc/orgs","repos_url":"https://api.github.com/users/myyc/repos","events_url":"https://api.github.com/users/myyc/events{/privacy}","received_events_url":"https://api.github.com/users/myyc/received_events","type":"User","site_admin":false},"created_at":"2016-08-18T10:34:58Z","updated_at":"2016-08-18T10:34:58Z","body":"On second thought, it looks like both default to the py2 mode, as `@` doesn't get handled properly either."}}
{"actor":{"display_login":"myyc"}}