{"action":"created","issue":{"url":"https://api.github.com/repos/python/mypy/issues/1717","repository_url":"https://api.github.com/repos/python/mypy","labels_url":"https://api.github.com/repos/python/mypy/issues/1717/labels{/name}","comments_url":"https://api.github.com/repos/python/mypy/issues/1717/comments","events_url":"https://api.github.com/repos/python/mypy/issues/1717/events","html_url":"https://github.com/python/mypy/issues/1717","id":160702309,"number":1717,"title":"Incorrect check on string interpolation","user":{"login":"dmoisset","id":200733,"avatar_url":"https://avatars.githubusercontent.com/u/200733?v=3","gravatar_id":"","url":"https://api.github.com/users/dmoisset","html_url":"https://github.com/dmoisset","followers_url":"https://api.github.com/users/dmoisset/followers","following_url":"https://api.github.com/users/dmoisset/following{/other_user}","gists_url":"https://api.github.com/users/dmoisset/gists{/gist_id}","starred_url":"https://api.github.com/users/dmoisset/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmoisset/subscriptions","organizations_url":"https://api.github.com/users/dmoisset/orgs","repos_url":"https://api.github.com/users/dmoisset/repos","events_url":"https://api.github.com/users/dmoisset/events{/privacy}","received_events_url":"https://api.github.com/users/dmoisset/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/python/mypy/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/python/mypy/labels/difficulty/easy","name":"difficulty/easy","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/python/mypy/milestones/6","html_url":"https://github.com/python/mypy/milestones/0.5","labels_url":"https://api.github.com/repos/python/mypy/milestones/6/labels","id":1616659,"number":6,"title":"0.5","description":"","creator":{"login":"ddfisher","id":245905,"avatar_url":"https://avatars.githubusercontent.com/u/245905?v=3","gravatar_id":"","url":"https://api.github.com/users/ddfisher","html_url":"https://github.com/ddfisher","followers_url":"https://api.github.com/users/ddfisher/followers","following_url":"https://api.github.com/users/ddfisher/following{/other_user}","gists_url":"https://api.github.com/users/ddfisher/gists{/gist_id}","starred_url":"https://api.github.com/users/ddfisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddfisher/subscriptions","organizations_url":"https://api.github.com/users/ddfisher/orgs","repos_url":"https://api.github.com/users/ddfisher/repos","events_url":"https://api.github.com/users/ddfisher/events{/privacy}","received_events_url":"https://api.github.com/users/ddfisher/received_events","type":"User","site_admin":false},"open_issues":47,"closed_issues":3,"state":"open","created_at":"2016-03-01T23:42:18Z","updated_at":"2016-06-23T21:36:06Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2016-06-16T16:18:27Z","updated_at":"2016-06-23T21:36:44Z","closed_at":null,"body":"When sending this type-correct code\r\n\r\n```python\r\nd = {\"greeting\": \"hello\", \"count\": 10}\r\nprint(\"%(greeting)s World. %(count)d%% tests failing\" % d)\r\n```\r\n\r\nthrough mypy, I get the following:\r\n```\r\nerror: String interpolation mixes specifier with and without mapping keys\r\n```\r\n\r\nWhich should be accepted; the only interpolator I'm using withot keys is \"%%\" which is just an escape and can not cause problems\r\n"},"comment":{"url":"https://api.github.com/repos/python/mypy/issues/comments/228191852","html_url":"https://github.com/python/mypy/issues/1717#issuecomment-228191852","issue_url":"https://api.github.com/repos/python/mypy/issues/1717","id":228191852,"user":{"login":"ddfisher","id":245905,"avatar_url":"https://avatars.githubusercontent.com/u/245905?v=3","gravatar_id":"","url":"https://api.github.com/users/ddfisher","html_url":"https://github.com/ddfisher","followers_url":"https://api.github.com/users/ddfisher/followers","following_url":"https://api.github.com/users/ddfisher/following{/other_user}","gists_url":"https://api.github.com/users/ddfisher/gists{/gist_id}","starred_url":"https://api.github.com/users/ddfisher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ddfisher/subscriptions","organizations_url":"https://api.github.com/users/ddfisher/orgs","repos_url":"https://api.github.com/users/ddfisher/repos","events_url":"https://api.github.com/users/ddfisher/events{/privacy}","received_events_url":"https://api.github.com/users/ddfisher/received_events","type":"User","site_admin":false},"created_at":"2016-06-23T21:36:44Z","updated_at":"2016-06-23T21:36:44Z","body":"This does look like it's related to the `%%`.  Here's a slightly reduced repro: `\"%(foo)s %%\" % {\"foo\": \"foo\"}`"}}
{"actor":{"display_login":"ddfisher"}}